<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.14.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DM-CtrlH7-BF-DevProgram: C:/Users/ASUS/Desktop/dm-ctrlH7-balance-9025test/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_ll_spi.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="50x5.png"/></td>
  <td id="projectalign">
   <div id="projectname">DM-CtrlH7-BF-DevProgram<span id="projectnumber">&#160;beta 0.1</span>
   </div>
   <div id="projectbrief">C.ONE Studio Damiao Development Board Framework</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.14.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search/",'.html');
</script>
<script type="text/javascript">
$(function() { codefold.init(); });
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search',true);
  $(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(function(){initNavTree('stm32h7xx__ll__spi_8h_source.html','',''); });
</script>
<div id="container">
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">stm32h7xx_ll_spi.h</div></div>
</div><!--header-->
<div class="contents">
<a href="stm32h7xx__ll__spi_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span><span class="comment">/* Define to prevent recursive inclusion -------------------------------------*/</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="preprocessor">#ifndef STM32H7xx_LL_SPI_H</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="preprocessor">#define STM32H7xx_LL_SPI_H</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="comment">/* Includes ------------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="preprocessor">#include &quot;<a class="code" href="stm32h7xx_8h.html">stm32h7xx.h</a>&quot;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span> </div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="preprocessor">#if defined(SPI1) || defined(SPI2) || defined(SPI3) || defined(SPI4) || defined(SPI5) || defined(SPI6)</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span><span class="comment">/* Private variables ---------------------------------------------------------*/</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span><span class="comment">/* Private constants ---------------------------------------------------------*/</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span> </div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span><span class="comment">/* Private macros ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span> </div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span><span class="comment">/* Exported types ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span><span class="preprocessor">#if defined(USE_FULL_LL_DRIVER)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>{</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>  uint32_t TransferDirection;       </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>  uint32_t Mode;                    </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span>  uint32_t DataWidth;               </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span> </div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>  uint32_t ClockPolarity;           </div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span> </div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>  uint32_t ClockPhase;              </div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno">   92</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span>  uint32_t NSS;                     </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span> </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>  uint32_t BaudRate;                </div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span> </div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>  uint32_t BitOrder;                </div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span> </div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span>  uint32_t CRCCalculation;          </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno">  121</span> </div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span>  uint32_t CRCPoly;                 </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span> </div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span>} LL_SPI_InitTypeDef;</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span></div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span><span class="preprocessor">#endif </span><span class="comment">/*USE_FULL_LL_DRIVER*/</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span> </div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span><span class="comment">/* Exported types ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno">  137</span> </div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno">  138</span><span class="comment">/* Exported constants --------------------------------------------------------*/</span></div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno">  142</span></div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span><span class="preprocessor">#define LL_SPI_SR_RXP                              (SPI_SR_RXP)</span></div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span><span class="preprocessor">#define LL_SPI_SR_TXP                              (SPI_SR_TXP)</span></div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno">  149</span><span class="preprocessor">#define LL_SPI_SR_DXP                              (SPI_SR_DXP)</span></div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno">  150</span><span class="preprocessor">#define LL_SPI_SR_EOT                              (SPI_SR_EOT)</span></div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span><span class="preprocessor">#define LL_SPI_SR_TXTF                             (SPI_SR_TXTF)</span></div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno">  152</span><span class="preprocessor">#define LL_SPI_SR_UDR                              (SPI_SR_UDR)</span></div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno">  153</span><span class="preprocessor">#define LL_SPI_SR_CRCE                             (SPI_SR_CRCE)</span></div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno">  154</span><span class="preprocessor">#define LL_SPI_SR_MODF                             (SPI_SR_MODF)</span></div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno">  155</span><span class="preprocessor">#define LL_SPI_SR_OVR                              (SPI_SR_OVR)</span></div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno">  156</span><span class="preprocessor">#define LL_SPI_SR_TIFRE                            (SPI_SR_TIFRE)</span></div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno">  157</span><span class="preprocessor">#define LL_SPI_SR_TSERF                            (SPI_SR_TSERF)</span></div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno">  158</span><span class="preprocessor">#define LL_SPI_SR_SUSP                             (SPI_SR_SUSP)</span></div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno">  159</span><span class="preprocessor">#define LL_SPI_SR_TXC                              (SPI_SR_TXC)</span></div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno">  160</span><span class="preprocessor">#define LL_SPI_SR_RXWNE                            (SPI_SR_RXWNE)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span></div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno">  169</span><span class="preprocessor">#define LL_SPI_IER_RXPIE                           (SPI_IER_RXPIE)</span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno">  170</span><span class="preprocessor">#define LL_SPI_IER_TXPIE                           (SPI_IER_TXPIE)</span></div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno">  171</span><span class="preprocessor">#define LL_SPI_IER_DXPIE                           (SPI_IER_DXPIE)</span></div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno">  172</span><span class="preprocessor">#define LL_SPI_IER_EOTIE                           (SPI_IER_EOTIE)</span></div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno">  173</span><span class="preprocessor">#define LL_SPI_IER_TXTFIE                          (SPI_IER_TXTFIE)</span></div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno">  174</span><span class="preprocessor">#define LL_SPI_IER_UDRIE                           (SPI_IER_UDRIE)</span></div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno">  175</span><span class="preprocessor">#define LL_SPI_IER_OVRIE                           (SPI_IER_OVRIE)</span></div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno">  176</span><span class="preprocessor">#define LL_SPI_IER_CRCEIE                          (SPI_IER_CRCEIE)</span></div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno">  177</span><span class="preprocessor">#define LL_SPI_IER_TIFREIE                         (SPI_IER_TIFREIE)</span></div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span><span class="preprocessor">#define LL_SPI_IER_MODFIE                          (SPI_IER_MODFIE)</span></div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span><span class="preprocessor">#define LL_SPI_IER_TSERFIE                         (SPI_IER_TSERFIE)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno">  183</span></div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno">  187</span><span class="preprocessor">#define LL_SPI_MODE_MASTER                         (SPI_CFG2_MASTER)</span></div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno">  188</span><span class="preprocessor">#define LL_SPI_MODE_SLAVE                          (0x00000000UL)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span></div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno">  196</span><span class="preprocessor">#define LL_SPI_SS_LEVEL_HIGH                       (SPI_CR1_SSI)</span></div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno">  197</span><span class="preprocessor">#define LL_SPI_SS_LEVEL_LOW                        (0x00000000UL)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno">  201</span></div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno">  205</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_00CYCLE                 (0x00000000UL)</span></div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno">  206</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_01CYCLE                 (SPI_CFG2_MSSI_0)</span></div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno">  207</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_02CYCLE                 (SPI_CFG2_MSSI_1)</span></div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno">  208</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_03CYCLE                 (SPI_CFG2_MSSI_0 | SPI_CFG2_MSSI_1)</span></div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno">  209</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_04CYCLE                 (SPI_CFG2_MSSI_2)</span></div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno">  210</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_05CYCLE                 (SPI_CFG2_MSSI_2 | SPI_CFG2_MSSI_0)</span></div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno">  211</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_06CYCLE                 (SPI_CFG2_MSSI_2 | SPI_CFG2_MSSI_1)</span></div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno">  212</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_07CYCLE                 (SPI_CFG2_MSSI_2 | SPI_CFG2_MSSI_1 | SPI_CFG2_MSSI_0)</span></div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno">  213</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_08CYCLE                 (SPI_CFG2_MSSI_3)</span></div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno">  214</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_09CYCLE                 (SPI_CFG2_MSSI_3 | SPI_CFG2_MSSI_0)</span></div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno">  215</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_10CYCLE                 (SPI_CFG2_MSSI_3 | SPI_CFG2_MSSI_1)</span></div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno">  216</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_11CYCLE                 (SPI_CFG2_MSSI_3 | SPI_CFG2_MSSI_1 | SPI_CFG2_MSSI_0)</span></div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno">  217</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_12CYCLE                 (SPI_CFG2_MSSI_3 | SPI_CFG2_MSSI_2)</span></div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno">  218</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_13CYCLE                 (SPI_CFG2_MSSI_3 | SPI_CFG2_MSSI_2 | SPI_CFG2_MSSI_0)</span></div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno">  219</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_14CYCLE                 (SPI_CFG2_MSSI_3 | SPI_CFG2_MSSI_2 | SPI_CFG2_MSSI_1)</span></div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno">  220</span><span class="preprocessor">#define LL_SPI_SS_IDLENESS_15CYCLE                 (SPI_CFG2_MSSI_3\</span></div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno">  221</span><span class="preprocessor">                                                    | SPI_CFG2_MSSI_2 | SPI_CFG2_MSSI_1 | SPI_CFG2_MSSI_0)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno">  225</span></div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno">  229</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_00CYCLE                 (0x00000000UL)</span></div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno">  230</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_01CYCLE                 (SPI_CFG2_MIDI_0)</span></div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno">  231</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_02CYCLE                 (SPI_CFG2_MIDI_1)</span></div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno">  232</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_03CYCLE                 (SPI_CFG2_MIDI_0 | SPI_CFG2_MIDI_1)</span></div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno">  233</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_04CYCLE                 (SPI_CFG2_MIDI_2)</span></div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno">  234</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_05CYCLE                 (SPI_CFG2_MIDI_2 | SPI_CFG2_MIDI_0)</span></div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno">  235</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_06CYCLE                 (SPI_CFG2_MIDI_2 | SPI_CFG2_MIDI_1)</span></div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno">  236</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_07CYCLE                 (SPI_CFG2_MIDI_2 | SPI_CFG2_MIDI_1 | SPI_CFG2_MIDI_0)</span></div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno">  237</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_08CYCLE                 (SPI_CFG2_MIDI_3)</span></div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno">  238</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_09CYCLE                 (SPI_CFG2_MIDI_3 | SPI_CFG2_MIDI_0)</span></div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno">  239</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_10CYCLE                 (SPI_CFG2_MIDI_3 | SPI_CFG2_MIDI_1)</span></div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno">  240</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_11CYCLE                 (SPI_CFG2_MIDI_3 | SPI_CFG2_MIDI_1 | SPI_CFG2_MIDI_0)</span></div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno">  241</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_12CYCLE                 (SPI_CFG2_MIDI_3 | SPI_CFG2_MIDI_2)</span></div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno">  242</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_13CYCLE                 (SPI_CFG2_MIDI_3 | SPI_CFG2_MIDI_2 | SPI_CFG2_MIDI_0)</span></div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno">  243</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_14CYCLE                 (SPI_CFG2_MIDI_3 | SPI_CFG2_MIDI_2 | SPI_CFG2_MIDI_1)</span></div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno">  244</span><span class="preprocessor">#define LL_SPI_ID_IDLENESS_15CYCLE                 (SPI_CFG2_MIDI_3\</span></div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno">  245</span><span class="preprocessor">                                                    | SPI_CFG2_MIDI_2 | SPI_CFG2_MIDI_1 | SPI_CFG2_MIDI_0)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno">  249</span></div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno">  253</span><span class="preprocessor">#define LL_SPI_TXCRCINIT_ALL_ZERO_PATTERN          (0x00000000UL)</span></div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno">  254</span><span class="preprocessor">#define LL_SPI_TXCRCINIT_ALL_ONES_PATTERN          (SPI_CR1_TCRCINI)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno">  258</span></div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span><span class="preprocessor">#define LL_SPI_RXCRCINIT_ALL_ZERO_PATTERN          (0x00000000UL)</span></div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno">  263</span><span class="preprocessor">#define LL_SPI_RXCRCINIT_ALL_ONES_PATTERN          (SPI_CR1_RCRCINI)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno">  267</span></div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno">  271</span><span class="preprocessor">#define LL_SPI_UDR_CONFIG_REGISTER_PATTERN         (0x00000000UL)</span></div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno">  272</span><span class="preprocessor">#define LL_SPI_UDR_CONFIG_LAST_RECEIVED            (SPI_CFG1_UDRCFG_0)</span></div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno">  273</span><span class="preprocessor">#define LL_SPI_UDR_CONFIG_LAST_TRANSMITTED         (SPI_CFG1_UDRCFG_1)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno">  277</span></div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno">  281</span><span class="preprocessor">#define LL_SPI_UDR_DETECT_BEGIN_DATA_FRAME         (0x00000000UL)</span></div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno">  282</span><span class="preprocessor">#define LL_SPI_UDR_DETECT_END_DATA_FRAME           (SPI_CFG1_UDRDET_0)</span></div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno">  283</span><span class="preprocessor">#define LL_SPI_UDR_DETECT_BEGIN_ACTIVE_NSS         (SPI_CFG1_UDRDET_1)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno">  287</span></div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno">  291</span><span class="preprocessor">#define LL_SPI_PROTOCOL_MOTOROLA                   (0x00000000UL)</span></div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno">  292</span><span class="preprocessor">#define LL_SPI_PROTOCOL_TI                         (SPI_CFG2_SP_0)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno">  296</span></div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno">  300</span><span class="preprocessor">#define LL_SPI_PHASE_1EDGE                         (0x00000000UL)</span></div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno">  301</span><span class="preprocessor">#define LL_SPI_PHASE_2EDGE                         (SPI_CFG2_CPHA)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno">  305</span></div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno">  309</span><span class="preprocessor">#define LL_SPI_POLARITY_LOW                        (0x00000000UL)</span></div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno">  310</span><span class="preprocessor">#define LL_SPI_POLARITY_HIGH                       (SPI_CFG2_CPOL)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno">  314</span></div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno">  318</span><span class="preprocessor">#define LL_SPI_NSS_POLARITY_LOW                    (0x00000000UL)</span></div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno">  319</span><span class="preprocessor">#define LL_SPI_NSS_POLARITY_HIGH                   (SPI_CFG2_SSIOP)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno">  323</span></div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno">  327</span><span class="preprocessor">#define LL_SPI_BAUDRATEPRESCALER_DIV2              (0x00000000UL)</span></div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno">  328</span><span class="preprocessor">#define LL_SPI_BAUDRATEPRESCALER_DIV4              (SPI_CFG1_MBR_0)</span></div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno">  329</span><span class="preprocessor">#define LL_SPI_BAUDRATEPRESCALER_DIV8              (SPI_CFG1_MBR_1)</span></div>
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno">  330</span><span class="preprocessor">#define LL_SPI_BAUDRATEPRESCALER_DIV16             (SPI_CFG1_MBR_1 | SPI_CFG1_MBR_0)</span></div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno">  331</span><span class="preprocessor">#define LL_SPI_BAUDRATEPRESCALER_DIV32             (SPI_CFG1_MBR_2)</span></div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno">  332</span><span class="preprocessor">#define LL_SPI_BAUDRATEPRESCALER_DIV64             (SPI_CFG1_MBR_2 | SPI_CFG1_MBR_0)</span></div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno">  333</span><span class="preprocessor">#define LL_SPI_BAUDRATEPRESCALER_DIV128            (SPI_CFG1_MBR_2 | SPI_CFG1_MBR_1)</span></div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno">  334</span><span class="preprocessor">#define LL_SPI_BAUDRATEPRESCALER_DIV256            (SPI_CFG1_MBR_2 | SPI_CFG1_MBR_1 | SPI_CFG1_MBR_0)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno">  338</span></div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno">  342</span><span class="preprocessor">#define LL_SPI_LSB_FIRST                           (SPI_CFG2_LSBFRST)</span></div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno">  343</span><span class="preprocessor">#define LL_SPI_MSB_FIRST                           (0x00000000UL)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00347" name="l00347"></a><span class="lineno">  347</span></div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno">  351</span><span class="preprocessor">#define LL_SPI_FULL_DUPLEX                         (0x00000000UL)</span></div>
<div class="line"><a id="l00352" name="l00352"></a><span class="lineno">  352</span><span class="preprocessor">#define LL_SPI_SIMPLEX_TX                          (SPI_CFG2_COMM_0)</span></div>
<div class="line"><a id="l00353" name="l00353"></a><span class="lineno">  353</span><span class="preprocessor">#define LL_SPI_SIMPLEX_RX                          (SPI_CFG2_COMM_1)</span></div>
<div class="line"><a id="l00354" name="l00354"></a><span class="lineno">  354</span><span class="preprocessor">#define LL_SPI_HALF_DUPLEX_RX                      (SPI_CFG2_COMM_0|SPI_CFG2_COMM_1)</span></div>
<div class="line"><a id="l00355" name="l00355"></a><span class="lineno">  355</span><span class="preprocessor">#define LL_SPI_HALF_DUPLEX_TX                      (SPI_CFG2_COMM_0|SPI_CFG2_COMM_1|SPI_CR1_HDDIR)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno">  359</span></div>
<div class="line"><a id="l00363" name="l00363"></a><span class="lineno">  363</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_4BIT                      (SPI_CFG1_DSIZE_0 | SPI_CFG1_DSIZE_1)</span></div>
<div class="line"><a id="l00364" name="l00364"></a><span class="lineno">  364</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_5BIT                      (SPI_CFG1_DSIZE_2)</span></div>
<div class="line"><a id="l00365" name="l00365"></a><span class="lineno">  365</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_6BIT                      (SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_0)</span></div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno">  366</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_7BIT                      (SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1)</span></div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno">  367</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_8BIT                      (SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1 | SPI_CFG1_DSIZE_0)</span></div>
<div class="line"><a id="l00368" name="l00368"></a><span class="lineno">  368</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_9BIT                      (SPI_CFG1_DSIZE_3)</span></div>
<div class="line"><a id="l00369" name="l00369"></a><span class="lineno">  369</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_10BIT                     (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_0)</span></div>
<div class="line"><a id="l00370" name="l00370"></a><span class="lineno">  370</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_11BIT                     (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_1)</span></div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno">  371</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_12BIT                     (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_1 | SPI_CFG1_DSIZE_0)</span></div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno">  372</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_13BIT                     (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2)</span></div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno">  373</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_14BIT                     (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_0)</span></div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno">  374</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_15BIT                     (SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1)</span></div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno">  375</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_16BIT                     (SPI_CFG1_DSIZE_3\</span></div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno">  376</span><span class="preprocessor">                                                    | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1 | SPI_CFG1_DSIZE_0)</span></div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno">  377</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_17BIT                     (SPI_CFG1_DSIZE_4)</span></div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno">  378</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_18BIT                     (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_0)</span></div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno">  379</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_19BIT                     (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_1)</span></div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno">  380</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_20BIT                     (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_0 | SPI_CFG1_DSIZE_1)</span></div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno">  381</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_21BIT                     (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_2)</span></div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno">  382</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_22BIT                     (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_0)</span></div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno">  383</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_23BIT                     (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1)</span></div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno">  384</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_24BIT                     (SPI_CFG1_DSIZE_4\</span></div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno">  385</span><span class="preprocessor">                                                    | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1 | SPI_CFG1_DSIZE_0)</span></div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno">  386</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_25BIT                     (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_3)</span></div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno">  387</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_26BIT                     (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_0)</span></div>
<div class="line"><a id="l00388" name="l00388"></a><span class="lineno">  388</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_27BIT                     (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_1)</span></div>
<div class="line"><a id="l00389" name="l00389"></a><span class="lineno">  389</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_28BIT                     (SPI_CFG1_DSIZE_4\</span></div>
<div class="line"><a id="l00390" name="l00390"></a><span class="lineno">  390</span><span class="preprocessor">                                                    | SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_1 | SPI_CFG1_DSIZE_0)</span></div>
<div class="line"><a id="l00391" name="l00391"></a><span class="lineno">  391</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_29BIT                     (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2)</span></div>
<div class="line"><a id="l00392" name="l00392"></a><span class="lineno">  392</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_30BIT                     (SPI_CFG1_DSIZE_4\</span></div>
<div class="line"><a id="l00393" name="l00393"></a><span class="lineno">  393</span><span class="preprocessor">                                                    | SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_0)</span></div>
<div class="line"><a id="l00394" name="l00394"></a><span class="lineno">  394</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_31BIT                     (SPI_CFG1_DSIZE_4\</span></div>
<div class="line"><a id="l00395" name="l00395"></a><span class="lineno">  395</span><span class="preprocessor">                                                    | SPI_CFG1_DSIZE_3 | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1)</span></div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno">  396</span><span class="preprocessor">#define LL_SPI_DATAWIDTH_32BIT                     (SPI_CFG1_DSIZE_4 | SPI_CFG1_DSIZE_3\</span></div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno">  397</span><span class="preprocessor">                                                    | SPI_CFG1_DSIZE_2 | SPI_CFG1_DSIZE_1 | SPI_CFG1_DSIZE_0)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno">  401</span></div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno">  405</span><span class="preprocessor">#define LL_SPI_FIFO_TH_01DATA                      (0x00000000UL)</span></div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno">  406</span><span class="preprocessor">#define LL_SPI_FIFO_TH_02DATA                      (SPI_CFG1_FTHLV_0)</span></div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno">  407</span><span class="preprocessor">#define LL_SPI_FIFO_TH_03DATA                      (SPI_CFG1_FTHLV_1)</span></div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno">  408</span><span class="preprocessor">#define LL_SPI_FIFO_TH_04DATA                      (SPI_CFG1_FTHLV_0 | SPI_CFG1_FTHLV_1)</span></div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno">  409</span><span class="preprocessor">#define LL_SPI_FIFO_TH_05DATA                      (SPI_CFG1_FTHLV_2)</span></div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno">  410</span><span class="preprocessor">#define LL_SPI_FIFO_TH_06DATA                      (SPI_CFG1_FTHLV_2 | SPI_CFG1_FTHLV_0)</span></div>
<div class="line"><a id="l00411" name="l00411"></a><span class="lineno">  411</span><span class="preprocessor">#define LL_SPI_FIFO_TH_07DATA                      (SPI_CFG1_FTHLV_2 | SPI_CFG1_FTHLV_1)</span></div>
<div class="line"><a id="l00412" name="l00412"></a><span class="lineno">  412</span><span class="preprocessor">#define LL_SPI_FIFO_TH_08DATA                      (SPI_CFG1_FTHLV_2 | SPI_CFG1_FTHLV_1 | SPI_CFG1_FTHLV_0)</span></div>
<div class="line"><a id="l00413" name="l00413"></a><span class="lineno">  413</span><span class="preprocessor">#define LL_SPI_FIFO_TH_09DATA                      (SPI_CFG1_FTHLV_3)</span></div>
<div class="line"><a id="l00414" name="l00414"></a><span class="lineno">  414</span><span class="preprocessor">#define LL_SPI_FIFO_TH_10DATA                      (SPI_CFG1_FTHLV_3 | SPI_CFG1_FTHLV_0)</span></div>
<div class="line"><a id="l00415" name="l00415"></a><span class="lineno">  415</span><span class="preprocessor">#define LL_SPI_FIFO_TH_11DATA                      (SPI_CFG1_FTHLV_3 | SPI_CFG1_FTHLV_1)</span></div>
<div class="line"><a id="l00416" name="l00416"></a><span class="lineno">  416</span><span class="preprocessor">#define LL_SPI_FIFO_TH_12DATA                      (SPI_CFG1_FTHLV_3 | SPI_CFG1_FTHLV_1 | SPI_CFG1_FTHLV_0)</span></div>
<div class="line"><a id="l00417" name="l00417"></a><span class="lineno">  417</span><span class="preprocessor">#define LL_SPI_FIFO_TH_13DATA                      (SPI_CFG1_FTHLV_3 | SPI_CFG1_FTHLV_2)</span></div>
<div class="line"><a id="l00418" name="l00418"></a><span class="lineno">  418</span><span class="preprocessor">#define LL_SPI_FIFO_TH_14DATA                      (SPI_CFG1_FTHLV_3 | SPI_CFG1_FTHLV_2 | SPI_CFG1_FTHLV_0)</span></div>
<div class="line"><a id="l00419" name="l00419"></a><span class="lineno">  419</span><span class="preprocessor">#define LL_SPI_FIFO_TH_15DATA                      (SPI_CFG1_FTHLV_3 | SPI_CFG1_FTHLV_2 | SPI_CFG1_FTHLV_1)</span></div>
<div class="line"><a id="l00420" name="l00420"></a><span class="lineno">  420</span><span class="preprocessor">#define LL_SPI_FIFO_TH_16DATA                      (SPI_CFG1_FTHLV_3\</span></div>
<div class="line"><a id="l00421" name="l00421"></a><span class="lineno">  421</span><span class="preprocessor">                                                    | SPI_CFG1_FTHLV_2 | SPI_CFG1_FTHLV_1 | SPI_CFG1_FTHLV_0)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00425" name="l00425"></a><span class="lineno">  425</span> </div>
<div class="line"><a id="l00426" name="l00426"></a><span class="lineno">  426</span><span class="preprocessor">#if defined(USE_FULL_LL_DRIVER)</span></div>
<div class="line"><a id="l00427" name="l00427"></a><span class="lineno">  427</span></div>
<div class="line"><a id="l00431" name="l00431"></a><span class="lineno">  431</span><span class="preprocessor">#define LL_SPI_CRCCALCULATION_DISABLE              (0x00000000UL)            </span><span class="preprocessor"></span></div>
<div class="line"><a id="l00432" name="l00432"></a><span class="lineno">  432</span><span class="preprocessor">#define LL_SPI_CRCCALCULATION_ENABLE               (SPI_CFG1_CRCEN)          </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l00436" name="l00436"></a><span class="lineno">  436</span><span class="preprocessor">#endif </span><span class="comment">/* USE_FULL_LL_DRIVER */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00437" name="l00437"></a><span class="lineno">  437</span></div>
<div class="line"><a id="l00441" name="l00441"></a><span class="lineno">  441</span><span class="preprocessor">#define LL_SPI_CRC_4BIT                            (SPI_CFG1_CRCSIZE_0 | SPI_CFG1_CRCSIZE_1)</span></div>
<div class="line"><a id="l00442" name="l00442"></a><span class="lineno">  442</span><span class="preprocessor">#define LL_SPI_CRC_5BIT                            (SPI_CFG1_CRCSIZE_2)</span></div>
<div class="line"><a id="l00443" name="l00443"></a><span class="lineno">  443</span><span class="preprocessor">#define LL_SPI_CRC_6BIT                            (SPI_CFG1_CRCSIZE_2 | SPI_CFG1_CRCSIZE_0)</span></div>
<div class="line"><a id="l00444" name="l00444"></a><span class="lineno">  444</span><span class="preprocessor">#define LL_SPI_CRC_7BIT                            (SPI_CFG1_CRCSIZE_2 | SPI_CFG1_CRCSIZE_1)</span></div>
<div class="line"><a id="l00445" name="l00445"></a><span class="lineno">  445</span><span class="preprocessor">#define LL_SPI_CRC_8BIT                            (SPI_CFG1_CRCSIZE_2 | SPI_CFG1_CRCSIZE_1 | SPI_CFG1_CRCSIZE_0)</span></div>
<div class="line"><a id="l00446" name="l00446"></a><span class="lineno">  446</span><span class="preprocessor">#define LL_SPI_CRC_9BIT                            (SPI_CFG1_CRCSIZE_3)</span></div>
<div class="line"><a id="l00447" name="l00447"></a><span class="lineno">  447</span><span class="preprocessor">#define LL_SPI_CRC_10BIT                           (SPI_CFG1_CRCSIZE_3 | SPI_CFG1_CRCSIZE_0)</span></div>
<div class="line"><a id="l00448" name="l00448"></a><span class="lineno">  448</span><span class="preprocessor">#define LL_SPI_CRC_11BIT                           (SPI_CFG1_CRCSIZE_3 | SPI_CFG1_CRCSIZE_1)</span></div>
<div class="line"><a id="l00449" name="l00449"></a><span class="lineno">  449</span><span class="preprocessor">#define LL_SPI_CRC_12BIT                           (SPI_CFG1_CRCSIZE_3 | SPI_CFG1_CRCSIZE_1 | SPI_CFG1_CRCSIZE_0)</span></div>
<div class="line"><a id="l00450" name="l00450"></a><span class="lineno">  450</span><span class="preprocessor">#define LL_SPI_CRC_13BIT                           (SPI_CFG1_CRCSIZE_3 | SPI_CFG1_CRCSIZE_2)</span></div>
<div class="line"><a id="l00451" name="l00451"></a><span class="lineno">  451</span><span class="preprocessor">#define LL_SPI_CRC_14BIT                           (SPI_CFG1_CRCSIZE_3 | SPI_CFG1_CRCSIZE_2 | SPI_CFG1_CRCSIZE_0)</span></div>
<div class="line"><a id="l00452" name="l00452"></a><span class="lineno">  452</span><span class="preprocessor">#define LL_SPI_CRC_15BIT                           (SPI_CFG1_CRCSIZE_3 | SPI_CFG1_CRCSIZE_2 | SPI_CFG1_CRCSIZE_1)</span></div>
<div class="line"><a id="l00453" name="l00453"></a><span class="lineno">  453</span><span class="preprocessor">#define LL_SPI_CRC_16BIT                           (SPI_CFG1_CRCSIZE_3\</span></div>
<div class="line"><a id="l00454" name="l00454"></a><span class="lineno">  454</span><span class="preprocessor">                                                    | SPI_CFG1_CRCSIZE_2 | SPI_CFG1_CRCSIZE_1 | SPI_CFG1_CRCSIZE_0)</span></div>
<div class="line"><a id="l00455" name="l00455"></a><span class="lineno">  455</span><span class="preprocessor">#define LL_SPI_CRC_17BIT                           (SPI_CFG1_CRCSIZE_4)</span></div>
<div class="line"><a id="l00456" name="l00456"></a><span class="lineno">  456</span><span class="preprocessor">#define LL_SPI_CRC_18BIT                           (SPI_CFG1_CRCSIZE_4 | SPI_CFG1_CRCSIZE_0)</span></div>
<div class="line"><a id="l00457" name="l00457"></a><span class="lineno">  457</span><span class="preprocessor">#define LL_SPI_CRC_19BIT                           (SPI_CFG1_CRCSIZE_4 | SPI_CFG1_CRCSIZE_1)</span></div>
<div class="line"><a id="l00458" name="l00458"></a><span class="lineno">  458</span><span class="preprocessor">#define LL_SPI_CRC_20BIT                           (SPI_CFG1_CRCSIZE_4 | SPI_CFG1_CRCSIZE_0 | SPI_CFG1_CRCSIZE_1)</span></div>
<div class="line"><a id="l00459" name="l00459"></a><span class="lineno">  459</span><span class="preprocessor">#define LL_SPI_CRC_21BIT                           (SPI_CFG1_CRCSIZE_4 | SPI_CFG1_CRCSIZE_2)</span></div>
<div class="line"><a id="l00460" name="l00460"></a><span class="lineno">  460</span><span class="preprocessor">#define LL_SPI_CRC_22BIT                           (SPI_CFG1_CRCSIZE_4 | SPI_CFG1_CRCSIZE_2 | SPI_CFG1_CRCSIZE_0)</span></div>
<div class="line"><a id="l00461" name="l00461"></a><span class="lineno">  461</span><span class="preprocessor">#define LL_SPI_CRC_23BIT                           (SPI_CFG1_CRCSIZE_4 | SPI_CFG1_CRCSIZE_2 | SPI_CFG1_CRCSIZE_1)</span></div>
<div class="line"><a id="l00462" name="l00462"></a><span class="lineno">  462</span><span class="preprocessor">#define LL_SPI_CRC_24BIT                           (SPI_CFG1_CRCSIZE_4\</span></div>
<div class="line"><a id="l00463" name="l00463"></a><span class="lineno">  463</span><span class="preprocessor">                                                    | SPI_CFG1_CRCSIZE_2 | SPI_CFG1_CRCSIZE_1 | SPI_CFG1_CRCSIZE_0)</span></div>
<div class="line"><a id="l00464" name="l00464"></a><span class="lineno">  464</span><span class="preprocessor">#define LL_SPI_CRC_25BIT                           (SPI_CFG1_CRCSIZE_4 | SPI_CFG1_CRCSIZE_3)</span></div>
<div class="line"><a id="l00465" name="l00465"></a><span class="lineno">  465</span><span class="preprocessor">#define LL_SPI_CRC_26BIT                           (SPI_CFG1_CRCSIZE_4 | SPI_CFG1_CRCSIZE_3 | SPI_CFG1_CRCSIZE_0)</span></div>
<div class="line"><a id="l00466" name="l00466"></a><span class="lineno">  466</span><span class="preprocessor">#define LL_SPI_CRC_27BIT                           (SPI_CFG1_CRCSIZE_4 | SPI_CFG1_CRCSIZE_3 | SPI_CFG1_CRCSIZE_1)</span></div>
<div class="line"><a id="l00467" name="l00467"></a><span class="lineno">  467</span><span class="preprocessor">#define LL_SPI_CRC_28BIT                           (SPI_CFG1_CRCSIZE_4\</span></div>
<div class="line"><a id="l00468" name="l00468"></a><span class="lineno">  468</span><span class="preprocessor">                                                    | SPI_CFG1_CRCSIZE_3 | SPI_CFG1_CRCSIZE_1 | SPI_CFG1_CRCSIZE_0)</span></div>
<div class="line"><a id="l00469" name="l00469"></a><span class="lineno">  469</span><span class="preprocessor">#define LL_SPI_CRC_29BIT                           (SPI_CFG1_CRCSIZE_4 | SPI_CFG1_CRCSIZE_3 | SPI_CFG1_CRCSIZE_2)</span></div>
<div class="line"><a id="l00470" name="l00470"></a><span class="lineno">  470</span><span class="preprocessor">#define LL_SPI_CRC_30BIT                           (SPI_CFG1_CRCSIZE_4\</span></div>
<div class="line"><a id="l00471" name="l00471"></a><span class="lineno">  471</span><span class="preprocessor">                                                    | SPI_CFG1_CRCSIZE_3 | SPI_CFG1_CRCSIZE_2 | SPI_CFG1_CRCSIZE_0)</span></div>
<div class="line"><a id="l00472" name="l00472"></a><span class="lineno">  472</span><span class="preprocessor">#define LL_SPI_CRC_31BIT                           (SPI_CFG1_CRCSIZE_4\</span></div>
<div class="line"><a id="l00473" name="l00473"></a><span class="lineno">  473</span><span class="preprocessor">                                                    | SPI_CFG1_CRCSIZE_3 | SPI_CFG1_CRCSIZE_2 | SPI_CFG1_CRCSIZE_1)</span></div>
<div class="line"><a id="l00474" name="l00474"></a><span class="lineno">  474</span><span class="preprocessor">#define LL_SPI_CRC_32BIT                           (SPI_CFG1_CRCSIZE_4 | SPI_CFG1_CRCSIZE_3\</span></div>
<div class="line"><a id="l00475" name="l00475"></a><span class="lineno">  475</span><span class="preprocessor">                                                    | SPI_CFG1_CRCSIZE_2 | SPI_CFG1_CRCSIZE_1 | SPI_CFG1_CRCSIZE_0)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00479" name="l00479"></a><span class="lineno">  479</span></div>
<div class="line"><a id="l00483" name="l00483"></a><span class="lineno">  483</span><span class="preprocessor">#define LL_SPI_NSS_SOFT                            (SPI_CFG2_SSM)</span></div>
<div class="line"><a id="l00484" name="l00484"></a><span class="lineno">  484</span><span class="preprocessor">#define LL_SPI_NSS_HARD_INPUT                      (0x00000000UL)</span></div>
<div class="line"><a id="l00485" name="l00485"></a><span class="lineno">  485</span><span class="preprocessor">#define LL_SPI_NSS_HARD_OUTPUT                     (SPI_CFG2_SSOE)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00489" name="l00489"></a><span class="lineno">  489</span></div>
<div class="line"><a id="l00493" name="l00493"></a><span class="lineno">  493</span><span class="preprocessor">#define LL_SPI_RX_FIFO_0PACKET               (0x00000000UL)    </span><span class="comment">/* 0 or multiple of 4 packet available is the RxFIFO */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00494" name="l00494"></a><span class="lineno">  494</span><span class="preprocessor">#define LL_SPI_RX_FIFO_1PACKET               (SPI_SR_RXPLVL_0)</span></div>
<div class="line"><a id="l00495" name="l00495"></a><span class="lineno">  495</span><span class="preprocessor">#define LL_SPI_RX_FIFO_2PACKET               (SPI_SR_RXPLVL_1)</span></div>
<div class="line"><a id="l00496" name="l00496"></a><span class="lineno">  496</span><span class="preprocessor">#define LL_SPI_RX_FIFO_3PACKET               (SPI_SR_RXPLVL_1 | SPI_SR_RXPLVL_0)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00500" name="l00500"></a><span class="lineno">  500</span></div>
<div class="line"><a id="l00504" name="l00504"></a><span class="lineno">  504</span> </div>
<div class="line"><a id="l00505" name="l00505"></a><span class="lineno">  505</span><span class="comment">/* Exported macro ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l00509" name="l00509"></a><span class="lineno">  509</span></div>
<div class="line"><a id="l00513" name="l00513"></a><span class="lineno">  513</span></div>
<div class="line"><a id="l00521" name="l00521"></a><span class="lineno">  521</span><span class="preprocessor">#define LL_SPI_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__-&gt;__REG__, (__VALUE__))</span></div>
<div class="line"><a id="l00522" name="l00522"></a><span class="lineno">  522</span></div>
<div class="line"><a id="l00529" name="l00529"></a><span class="lineno">  529</span><span class="preprocessor">#define LL_SPI_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__-&gt;__REG__)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l00533" name="l00533"></a><span class="lineno">  533</span></div>
<div class="line"><a id="l00537" name="l00537"></a><span class="lineno">  537</span> </div>
<div class="line"><a id="l00538" name="l00538"></a><span class="lineno">  538</span> </div>
<div class="line"><a id="l00539" name="l00539"></a><span class="lineno">  539</span><span class="comment">/* Exported functions --------------------------------------------------------*/</span></div>
<div class="line"><a id="l00540" name="l00540"></a><span class="lineno">  540</span></div>
<div class="line"><a id="l00544" name="l00544"></a><span class="lineno">  544</span></div>
<div class="line"><a id="l00548" name="l00548"></a><span class="lineno">  548</span></div>
<div class="line"><a id="l00555" name="l00555"></a><span class="lineno">  555</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_Enable(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00556" name="l00556"></a><span class="lineno">  556</span>{</div>
<div class="line"><a id="l00557" name="l00557"></a><span class="lineno">  557</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac5a646d978d3b98eb7c6a5d95d75c3f9">SPI_CR1_SPE</a>);</div>
<div class="line"><a id="l00558" name="l00558"></a><span class="lineno">  558</span>}</div>
<div class="line"><a id="l00559" name="l00559"></a><span class="lineno">  559</span></div>
<div class="line"><a id="l00567" name="l00567"></a><span class="lineno">  567</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_Disable(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00568" name="l00568"></a><span class="lineno">  568</span>{</div>
<div class="line"><a id="l00569" name="l00569"></a><span class="lineno">  569</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac5a646d978d3b98eb7c6a5d95d75c3f9">SPI_CR1_SPE</a>);</div>
<div class="line"><a id="l00570" name="l00570"></a><span class="lineno">  570</span>}</div>
<div class="line"><a id="l00571" name="l00571"></a><span class="lineno">  571</span></div>
<div class="line"><a id="l00578" name="l00578"></a><span class="lineno">  578</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabled(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00579" name="l00579"></a><span class="lineno">  579</span>{</div>
<div class="line"><a id="l00580" name="l00580"></a><span class="lineno">  580</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac5a646d978d3b98eb7c6a5d95d75c3f9">SPI_CR1_SPE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac5a646d978d3b98eb7c6a5d95d75c3f9">SPI_CR1_SPE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l00581" name="l00581"></a><span class="lineno">  581</span>}</div>
<div class="line"><a id="l00582" name="l00582"></a><span class="lineno">  582</span></div>
<div class="line"><a id="l00590" name="l00590"></a><span class="lineno">  590</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableIOSwap(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00591" name="l00591"></a><span class="lineno">  591</span>{</div>
<div class="line"><a id="l00592" name="l00592"></a><span class="lineno">  592</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga6a392a021319a1e0fdf422502cfa47f2">SPI_CFG2_IOSWP</a>);</div>
<div class="line"><a id="l00593" name="l00593"></a><span class="lineno">  593</span>}</div>
<div class="line"><a id="l00594" name="l00594"></a><span class="lineno">  594</span></div>
<div class="line"><a id="l00602" name="l00602"></a><span class="lineno">  602</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableIOSwap(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00603" name="l00603"></a><span class="lineno">  603</span>{</div>
<div class="line"><a id="l00604" name="l00604"></a><span class="lineno">  604</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga6a392a021319a1e0fdf422502cfa47f2">SPI_CFG2_IOSWP</a>);</div>
<div class="line"><a id="l00605" name="l00605"></a><span class="lineno">  605</span>}</div>
<div class="line"><a id="l00606" name="l00606"></a><span class="lineno">  606</span></div>
<div class="line"><a id="l00613" name="l00613"></a><span class="lineno">  613</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledIOSwap(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00614" name="l00614"></a><span class="lineno">  614</span>{</div>
<div class="line"><a id="l00615" name="l00615"></a><span class="lineno">  615</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga6a392a021319a1e0fdf422502cfa47f2">SPI_CFG2_IOSWP</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga6a392a021319a1e0fdf422502cfa47f2">SPI_CFG2_IOSWP</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l00616" name="l00616"></a><span class="lineno">  616</span>}</div>
<div class="line"><a id="l00617" name="l00617"></a><span class="lineno">  617</span></div>
<div class="line"><a id="l00625" name="l00625"></a><span class="lineno">  625</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableGPIOControl(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00626" name="l00626"></a><span class="lineno">  626</span>{</div>
<div class="line"><a id="l00627" name="l00627"></a><span class="lineno">  627</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf0d90225cbbced8ab5c382605500e6b8">SPI_CFG2_AFCNTR</a>);</div>
<div class="line"><a id="l00628" name="l00628"></a><span class="lineno">  628</span>}</div>
<div class="line"><a id="l00629" name="l00629"></a><span class="lineno">  629</span></div>
<div class="line"><a id="l00637" name="l00637"></a><span class="lineno">  637</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableGPIOControl(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00638" name="l00638"></a><span class="lineno">  638</span>{</div>
<div class="line"><a id="l00639" name="l00639"></a><span class="lineno">  639</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf0d90225cbbced8ab5c382605500e6b8">SPI_CFG2_AFCNTR</a>);</div>
<div class="line"><a id="l00640" name="l00640"></a><span class="lineno">  640</span>}</div>
<div class="line"><a id="l00641" name="l00641"></a><span class="lineno">  641</span></div>
<div class="line"><a id="l00648" name="l00648"></a><span class="lineno">  648</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledGPIOControl(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00649" name="l00649"></a><span class="lineno">  649</span>{</div>
<div class="line"><a id="l00650" name="l00650"></a><span class="lineno">  650</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf0d90225cbbced8ab5c382605500e6b8">SPI_CFG2_AFCNTR</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf0d90225cbbced8ab5c382605500e6b8">SPI_CFG2_AFCNTR</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l00651" name="l00651"></a><span class="lineno">  651</span>}</div>
<div class="line"><a id="l00652" name="l00652"></a><span class="lineno">  652</span></div>
<div class="line"><a id="l00663" name="l00663"></a><span class="lineno">  663</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetMode(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t Mode)</div>
<div class="line"><a id="l00664" name="l00664"></a><span class="lineno">  664</span>{</div>
<div class="line"><a id="l00665" name="l00665"></a><span class="lineno">  665</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gae374f7d95b2b790e5741a84932b8c63f">SPI_CFG2_MASTER</a>, Mode);</div>
<div class="line"><a id="l00666" name="l00666"></a><span class="lineno">  666</span>}</div>
<div class="line"><a id="l00667" name="l00667"></a><span class="lineno">  667</span></div>
<div class="line"><a id="l00676" name="l00676"></a><span class="lineno">  676</span>__STATIC_INLINE uint32_t LL_SPI_GetMode(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00677" name="l00677"></a><span class="lineno">  677</span>{</div>
<div class="line"><a id="l00678" name="l00678"></a><span class="lineno">  678</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gae374f7d95b2b790e5741a84932b8c63f">SPI_CFG2_MASTER</a>));</div>
<div class="line"><a id="l00679" name="l00679"></a><span class="lineno">  679</span>}</div>
<div class="line"><a id="l00680" name="l00680"></a><span class="lineno">  680</span></div>
<div class="line"><a id="l00704" name="l00704"></a><span class="lineno">  704</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetMasterSSIdleness(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t MasterSSIdleness)</div>
<div class="line"><a id="l00705" name="l00705"></a><span class="lineno">  705</span>{</div>
<div class="line"><a id="l00706" name="l00706"></a><span class="lineno">  706</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga83164e8c254119b5b02b761d666ef12c">SPI_CFG2_MSSI</a>, MasterSSIdleness);</div>
<div class="line"><a id="l00707" name="l00707"></a><span class="lineno">  707</span>}</div>
<div class="line"><a id="l00708" name="l00708"></a><span class="lineno">  708</span></div>
<div class="line"><a id="l00731" name="l00731"></a><span class="lineno">  731</span>__STATIC_INLINE uint32_t LL_SPI_GetMasterSSIdleness(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00732" name="l00732"></a><span class="lineno">  732</span>{</div>
<div class="line"><a id="l00733" name="l00733"></a><span class="lineno">  733</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga83164e8c254119b5b02b761d666ef12c">SPI_CFG2_MSSI</a>));</div>
<div class="line"><a id="l00734" name="l00734"></a><span class="lineno">  734</span>}</div>
<div class="line"><a id="l00735" name="l00735"></a><span class="lineno">  735</span></div>
<div class="line"><a id="l00759" name="l00759"></a><span class="lineno">  759</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetInterDataIdleness(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t MasterInterDataIdleness)</div>
<div class="line"><a id="l00760" name="l00760"></a><span class="lineno">  760</span>{</div>
<div class="line"><a id="l00761" name="l00761"></a><span class="lineno">  761</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gab902d7b8309b8fedfd9b338618774191">SPI_CFG2_MIDI</a>, MasterInterDataIdleness);</div>
<div class="line"><a id="l00762" name="l00762"></a><span class="lineno">  762</span>}</div>
<div class="line"><a id="l00763" name="l00763"></a><span class="lineno">  763</span></div>
<div class="line"><a id="l00786" name="l00786"></a><span class="lineno">  786</span>__STATIC_INLINE uint32_t LL_SPI_GetInterDataIdleness(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00787" name="l00787"></a><span class="lineno">  787</span>{</div>
<div class="line"><a id="l00788" name="l00788"></a><span class="lineno">  788</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gab902d7b8309b8fedfd9b338618774191">SPI_CFG2_MIDI</a>));</div>
<div class="line"><a id="l00789" name="l00789"></a><span class="lineno">  789</span>}</div>
<div class="line"><a id="l00790" name="l00790"></a><span class="lineno">  790</span></div>
<div class="line"><a id="l00799" name="l00799"></a><span class="lineno">  799</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetTransferSize(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t Count)</div>
<div class="line"><a id="l00800" name="l00800"></a><span class="lineno">  800</span>{</div>
<div class="line"><a id="l00801" name="l00801"></a><span class="lineno">  801</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a38cb89a872e456e6ecd29b6c71d85600">CR2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf679040af74b6aefa72766069dc7b0f8">SPI_CR2_TSIZE</a>, Count);</div>
<div class="line"><a id="l00802" name="l00802"></a><span class="lineno">  802</span>}</div>
<div class="line"><a id="l00803" name="l00803"></a><span class="lineno">  803</span></div>
<div class="line"><a id="l00811" name="l00811"></a><span class="lineno">  811</span>__STATIC_INLINE uint32_t LL_SPI_GetTransferSize(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00812" name="l00812"></a><span class="lineno">  812</span>{</div>
<div class="line"><a id="l00813" name="l00813"></a><span class="lineno">  813</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a38cb89a872e456e6ecd29b6c71d85600">CR2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf679040af74b6aefa72766069dc7b0f8">SPI_CR2_TSIZE</a>));</div>
<div class="line"><a id="l00814" name="l00814"></a><span class="lineno">  814</span>}</div>
<div class="line"><a id="l00815" name="l00815"></a><span class="lineno">  815</span></div>
<div class="line"><a id="l00824" name="l00824"></a><span class="lineno">  824</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetReloadSize(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t Count)</div>
<div class="line"><a id="l00825" name="l00825"></a><span class="lineno">  825</span>{</div>
<div class="line"><a id="l00826" name="l00826"></a><span class="lineno">  826</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a38cb89a872e456e6ecd29b6c71d85600">CR2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga68f0df5875b67a12e55d99ff0da2d38b">SPI_CR2_TSER</a>, Count &lt;&lt; SPI_CR2_TSER_Pos);</div>
<div class="line"><a id="l00827" name="l00827"></a><span class="lineno">  827</span>}</div>
<div class="line"><a id="l00828" name="l00828"></a><span class="lineno">  828</span></div>
<div class="line"><a id="l00836" name="l00836"></a><span class="lineno">  836</span>__STATIC_INLINE uint32_t LL_SPI_GetReloadSize(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00837" name="l00837"></a><span class="lineno">  837</span>{</div>
<div class="line"><a id="l00838" name="l00838"></a><span class="lineno">  838</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a38cb89a872e456e6ecd29b6c71d85600">CR2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga68f0df5875b67a12e55d99ff0da2d38b">SPI_CR2_TSER</a>) &gt;&gt; SPI_CR2_TSER_Pos);</div>
<div class="line"><a id="l00839" name="l00839"></a><span class="lineno">  839</span>}</div>
<div class="line"><a id="l00840" name="l00840"></a><span class="lineno">  840</span></div>
<div class="line"><a id="l00849" name="l00849"></a><span class="lineno">  849</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableIOLock(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00850" name="l00850"></a><span class="lineno">  850</span>{</div>
<div class="line"><a id="l00851" name="l00851"></a><span class="lineno">  851</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga924de6adac104ed55c282c0d061ac11f">SPI_CR1_IOLOCK</a>);</div>
<div class="line"><a id="l00852" name="l00852"></a><span class="lineno">  852</span>}</div>
<div class="line"><a id="l00853" name="l00853"></a><span class="lineno">  853</span></div>
<div class="line"><a id="l00860" name="l00860"></a><span class="lineno">  860</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledIOLock(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00861" name="l00861"></a><span class="lineno">  861</span>{</div>
<div class="line"><a id="l00862" name="l00862"></a><span class="lineno">  862</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga924de6adac104ed55c282c0d061ac11f">SPI_CR1_IOLOCK</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga924de6adac104ed55c282c0d061ac11f">SPI_CR1_IOLOCK</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l00863" name="l00863"></a><span class="lineno">  863</span>}</div>
<div class="line"><a id="l00864" name="l00864"></a><span class="lineno">  864</span></div>
<div class="line"><a id="l00874" name="l00874"></a><span class="lineno">  874</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetTxCRCInitPattern(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t TXCRCInitAll)</div>
<div class="line"><a id="l00875" name="l00875"></a><span class="lineno">  875</span>{</div>
<div class="line"><a id="l00876" name="l00876"></a><span class="lineno">  876</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaad0484985babc3a9f84957458281337c">SPI_CR1_TCRCINI</a>, TXCRCInitAll);</div>
<div class="line"><a id="l00877" name="l00877"></a><span class="lineno">  877</span>}</div>
<div class="line"><a id="l00878" name="l00878"></a><span class="lineno">  878</span></div>
<div class="line"><a id="l00887" name="l00887"></a><span class="lineno">  887</span>__STATIC_INLINE uint32_t LL_SPI_GetTxCRCInitPattern(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00888" name="l00888"></a><span class="lineno">  888</span>{</div>
<div class="line"><a id="l00889" name="l00889"></a><span class="lineno">  889</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaad0484985babc3a9f84957458281337c">SPI_CR1_TCRCINI</a>));</div>
<div class="line"><a id="l00890" name="l00890"></a><span class="lineno">  890</span>}</div>
<div class="line"><a id="l00891" name="l00891"></a><span class="lineno">  891</span></div>
<div class="line"><a id="l00901" name="l00901"></a><span class="lineno">  901</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetRxCRCInitPattern(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t RXCRCInitAll)</div>
<div class="line"><a id="l00902" name="l00902"></a><span class="lineno">  902</span>{</div>
<div class="line"><a id="l00903" name="l00903"></a><span class="lineno">  903</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaacb99dd866a50efb470836aed787f273">SPI_CR1_RCRCINI</a>, RXCRCInitAll);</div>
<div class="line"><a id="l00904" name="l00904"></a><span class="lineno">  904</span>}</div>
<div class="line"><a id="l00905" name="l00905"></a><span class="lineno">  905</span></div>
<div class="line"><a id="l00914" name="l00914"></a><span class="lineno">  914</span>__STATIC_INLINE uint32_t LL_SPI_GetRxCRCInitPattern(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00915" name="l00915"></a><span class="lineno">  915</span>{</div>
<div class="line"><a id="l00916" name="l00916"></a><span class="lineno">  916</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaacb99dd866a50efb470836aed787f273">SPI_CR1_RCRCINI</a>));</div>
<div class="line"><a id="l00917" name="l00917"></a><span class="lineno">  917</span>}</div>
<div class="line"><a id="l00918" name="l00918"></a><span class="lineno">  918</span></div>
<div class="line"><a id="l00929" name="l00929"></a><span class="lineno">  929</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetInternalSSLevel(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t SSLevel)</div>
<div class="line"><a id="l00930" name="l00930"></a><span class="lineno">  930</span>{</div>
<div class="line"><a id="l00931" name="l00931"></a><span class="lineno">  931</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5f154374b58c0234f82ea326cb303a1e">SPI_CR1_SSI</a>, SSLevel);</div>
<div class="line"><a id="l00932" name="l00932"></a><span class="lineno">  932</span>}</div>
<div class="line"><a id="l00933" name="l00933"></a><span class="lineno">  933</span></div>
<div class="line"><a id="l00942" name="l00942"></a><span class="lineno">  942</span>__STATIC_INLINE uint32_t LL_SPI_GetInternalSSLevel(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00943" name="l00943"></a><span class="lineno">  943</span>{</div>
<div class="line"><a id="l00944" name="l00944"></a><span class="lineno">  944</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5f154374b58c0234f82ea326cb303a1e">SPI_CR1_SSI</a>));</div>
<div class="line"><a id="l00945" name="l00945"></a><span class="lineno">  945</span>}</div>
<div class="line"><a id="l00946" name="l00946"></a><span class="lineno">  946</span></div>
<div class="line"><a id="l00953" name="l00953"></a><span class="lineno">  953</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableFullSizeCRC(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00954" name="l00954"></a><span class="lineno">  954</span>{</div>
<div class="line"><a id="l00955" name="l00955"></a><span class="lineno">  955</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaaa106cc55ef294cde0f750aebd117aad">SPI_CR1_CRC33_17</a>);</div>
<div class="line"><a id="l00956" name="l00956"></a><span class="lineno">  956</span>}</div>
<div class="line"><a id="l00957" name="l00957"></a><span class="lineno">  957</span></div>
<div class="line"><a id="l00964" name="l00964"></a><span class="lineno">  964</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableFullSizeCRC(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00965" name="l00965"></a><span class="lineno">  965</span>{</div>
<div class="line"><a id="l00966" name="l00966"></a><span class="lineno">  966</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaaa106cc55ef294cde0f750aebd117aad">SPI_CR1_CRC33_17</a>);</div>
<div class="line"><a id="l00967" name="l00967"></a><span class="lineno">  967</span>}</div>
<div class="line"><a id="l00968" name="l00968"></a><span class="lineno">  968</span></div>
<div class="line"><a id="l00975" name="l00975"></a><span class="lineno">  975</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledFullSizeCRC(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00976" name="l00976"></a><span class="lineno">  976</span>{</div>
<div class="line"><a id="l00977" name="l00977"></a><span class="lineno">  977</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaaa106cc55ef294cde0f750aebd117aad">SPI_CR1_CRC33_17</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaaa106cc55ef294cde0f750aebd117aad">SPI_CR1_CRC33_17</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l00978" name="l00978"></a><span class="lineno">  978</span>}</div>
<div class="line"><a id="l00979" name="l00979"></a><span class="lineno">  979</span></div>
<div class="line"><a id="l00986" name="l00986"></a><span class="lineno">  986</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SuspendMasterTransfer(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00987" name="l00987"></a><span class="lineno">  987</span>{</div>
<div class="line"><a id="l00988" name="l00988"></a><span class="lineno">  988</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac11913f93aaad350abb857fccf2654c2">SPI_CR1_CSUSP</a>);</div>
<div class="line"><a id="l00989" name="l00989"></a><span class="lineno">  989</span>}</div>
<div class="line"><a id="l00990" name="l00990"></a><span class="lineno">  990</span></div>
<div class="line"><a id="l00997" name="l00997"></a><span class="lineno">  997</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_StartMasterTransfer(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l00998" name="l00998"></a><span class="lineno">  998</span>{</div>
<div class="line"><a id="l00999" name="l00999"></a><span class="lineno">  999</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1304286c75b4eea9246faa8aea8d9d35">SPI_CR1_CSTART</a>);</div>
<div class="line"><a id="l01000" name="l01000"></a><span class="lineno"> 1000</span>}</div>
<div class="line"><a id="l01001" name="l01001"></a><span class="lineno"> 1001</span></div>
<div class="line"><a id="l01008" name="l01008"></a><span class="lineno"> 1008</span>__STATIC_INLINE uint32_t LL_SPI_IsActiveMasterTransfer(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01009" name="l01009"></a><span class="lineno"> 1009</span>{</div>
<div class="line"><a id="l01010" name="l01010"></a><span class="lineno"> 1010</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1304286c75b4eea9246faa8aea8d9d35">SPI_CR1_CSTART</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1304286c75b4eea9246faa8aea8d9d35">SPI_CR1_CSTART</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01011" name="l01011"></a><span class="lineno"> 1011</span>}</div>
<div class="line"><a id="l01012" name="l01012"></a><span class="lineno"> 1012</span></div>
<div class="line"><a id="l01019" name="l01019"></a><span class="lineno"> 1019</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableMasterRxAutoSuspend(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01020" name="l01020"></a><span class="lineno"> 1020</span>{</div>
<div class="line"><a id="l01021" name="l01021"></a><span class="lineno"> 1021</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gae7d399759fc0606d8ef44845004a9faf">SPI_CR1_MASRX</a>);</div>
<div class="line"><a id="l01022" name="l01022"></a><span class="lineno"> 1022</span>}</div>
<div class="line"><a id="l01023" name="l01023"></a><span class="lineno"> 1023</span></div>
<div class="line"><a id="l01030" name="l01030"></a><span class="lineno"> 1030</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableMasterRxAutoSuspend(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01031" name="l01031"></a><span class="lineno"> 1031</span>{</div>
<div class="line"><a id="l01032" name="l01032"></a><span class="lineno"> 1032</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gae7d399759fc0606d8ef44845004a9faf">SPI_CR1_MASRX</a>);</div>
<div class="line"><a id="l01033" name="l01033"></a><span class="lineno"> 1033</span>}</div>
<div class="line"><a id="l01034" name="l01034"></a><span class="lineno"> 1034</span></div>
<div class="line"><a id="l01041" name="l01041"></a><span class="lineno"> 1041</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledMasterRxAutoSuspend(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01042" name="l01042"></a><span class="lineno"> 1042</span>{</div>
<div class="line"><a id="l01043" name="l01043"></a><span class="lineno"> 1043</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gae7d399759fc0606d8ef44845004a9faf">SPI_CR1_MASRX</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gae7d399759fc0606d8ef44845004a9faf">SPI_CR1_MASRX</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01044" name="l01044"></a><span class="lineno"> 1044</span>}</div>
<div class="line"><a id="l01045" name="l01045"></a><span class="lineno"> 1045</span></div>
<div class="line"><a id="l01057" name="l01057"></a><span class="lineno"> 1057</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetUDRConfiguration(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t UDRConfig)</div>
<div class="line"><a id="l01058" name="l01058"></a><span class="lineno"> 1058</span>{</div>
<div class="line"><a id="l01059" name="l01059"></a><span class="lineno"> 1059</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gafbc576a4e016b13218347fd2bd3303db">SPI_CFG1_UDRCFG</a>, UDRConfig);</div>
<div class="line"><a id="l01060" name="l01060"></a><span class="lineno"> 1060</span>}</div>
<div class="line"><a id="l01061" name="l01061"></a><span class="lineno"> 1061</span></div>
<div class="line"><a id="l01071" name="l01071"></a><span class="lineno"> 1071</span>__STATIC_INLINE uint32_t LL_SPI_GetUDRConfiguration(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01072" name="l01072"></a><span class="lineno"> 1072</span>{</div>
<div class="line"><a id="l01073" name="l01073"></a><span class="lineno"> 1073</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gafbc576a4e016b13218347fd2bd3303db">SPI_CFG1_UDRCFG</a>));</div>
<div class="line"><a id="l01074" name="l01074"></a><span class="lineno"> 1074</span>}</div>
<div class="line"><a id="l01075" name="l01075"></a><span class="lineno"> 1075</span></div>
<div class="line"><a id="l01087" name="l01087"></a><span class="lineno"> 1087</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetUDRDetection(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t UDRDetection)</div>
<div class="line"><a id="l01088" name="l01088"></a><span class="lineno"> 1088</span>{</div>
<div class="line"><a id="l01089" name="l01089"></a><span class="lineno"> 1089</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gabcf5fdb75a84ac9a9634205b1dcbff3d">SPI_CFG1_UDRDET</a>, UDRDetection);</div>
<div class="line"><a id="l01090" name="l01090"></a><span class="lineno"> 1090</span>}</div>
<div class="line"><a id="l01091" name="l01091"></a><span class="lineno"> 1091</span></div>
<div class="line"><a id="l01101" name="l01101"></a><span class="lineno"> 1101</span>__STATIC_INLINE uint32_t LL_SPI_GetUDRDetection(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01102" name="l01102"></a><span class="lineno"> 1102</span>{</div>
<div class="line"><a id="l01103" name="l01103"></a><span class="lineno"> 1103</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gabcf5fdb75a84ac9a9634205b1dcbff3d">SPI_CFG1_UDRDET</a>));</div>
<div class="line"><a id="l01104" name="l01104"></a><span class="lineno"> 1104</span>}</div>
<div class="line"><a id="l01105" name="l01105"></a><span class="lineno"> 1105</span></div>
<div class="line"><a id="l01116" name="l01116"></a><span class="lineno"> 1116</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetStandard(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t Standard)</div>
<div class="line"><a id="l01117" name="l01117"></a><span class="lineno"> 1117</span>{</div>
<div class="line"><a id="l01118" name="l01118"></a><span class="lineno"> 1118</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga63c870e907f27d909d0eaff45f4ce20d">SPI_CFG2_SP</a>, Standard);</div>
<div class="line"><a id="l01119" name="l01119"></a><span class="lineno"> 1119</span>}</div>
<div class="line"><a id="l01120" name="l01120"></a><span class="lineno"> 1120</span></div>
<div class="line"><a id="l01129" name="l01129"></a><span class="lineno"> 1129</span>__STATIC_INLINE uint32_t LL_SPI_GetStandard(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01130" name="l01130"></a><span class="lineno"> 1130</span>{</div>
<div class="line"><a id="l01131" name="l01131"></a><span class="lineno"> 1131</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga63c870e907f27d909d0eaff45f4ce20d">SPI_CFG2_SP</a>));</div>
<div class="line"><a id="l01132" name="l01132"></a><span class="lineno"> 1132</span>}</div>
<div class="line"><a id="l01133" name="l01133"></a><span class="lineno"> 1133</span></div>
<div class="line"><a id="l01145" name="l01145"></a><span class="lineno"> 1145</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetClockPhase(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t ClockPhase)</div>
<div class="line"><a id="l01146" name="l01146"></a><span class="lineno"> 1146</span>{</div>
<div class="line"><a id="l01147" name="l01147"></a><span class="lineno"> 1147</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga268bfe1b80b116394eef88b75cd3bcbd">SPI_CFG2_CPHA</a>, ClockPhase);</div>
<div class="line"><a id="l01148" name="l01148"></a><span class="lineno"> 1148</span>}</div>
<div class="line"><a id="l01149" name="l01149"></a><span class="lineno"> 1149</span></div>
<div class="line"><a id="l01158" name="l01158"></a><span class="lineno"> 1158</span>__STATIC_INLINE uint32_t LL_SPI_GetClockPhase(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01159" name="l01159"></a><span class="lineno"> 1159</span>{</div>
<div class="line"><a id="l01160" name="l01160"></a><span class="lineno"> 1160</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga268bfe1b80b116394eef88b75cd3bcbd">SPI_CFG2_CPHA</a>));</div>
<div class="line"><a id="l01161" name="l01161"></a><span class="lineno"> 1161</span>}</div>
<div class="line"><a id="l01162" name="l01162"></a><span class="lineno"> 1162</span></div>
<div class="line"><a id="l01174" name="l01174"></a><span class="lineno"> 1174</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetClockPolarity(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t ClockPolarity)</div>
<div class="line"><a id="l01175" name="l01175"></a><span class="lineno"> 1175</span>{</div>
<div class="line"><a id="l01176" name="l01176"></a><span class="lineno"> 1176</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf9e5874b94f69e2af8d7fd460ff33460">SPI_CFG2_CPOL</a>, ClockPolarity);</div>
<div class="line"><a id="l01177" name="l01177"></a><span class="lineno"> 1177</span>}</div>
<div class="line"><a id="l01178" name="l01178"></a><span class="lineno"> 1178</span></div>
<div class="line"><a id="l01187" name="l01187"></a><span class="lineno"> 1187</span>__STATIC_INLINE uint32_t LL_SPI_GetClockPolarity(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01188" name="l01188"></a><span class="lineno"> 1188</span>{</div>
<div class="line"><a id="l01189" name="l01189"></a><span class="lineno"> 1189</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf9e5874b94f69e2af8d7fd460ff33460">SPI_CFG2_CPOL</a>));</div>
<div class="line"><a id="l01190" name="l01190"></a><span class="lineno"> 1190</span>}</div>
<div class="line"><a id="l01191" name="l01191"></a><span class="lineno"> 1191</span></div>
<div class="line"><a id="l01203" name="l01203"></a><span class="lineno"> 1203</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetNSSPolarity(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t NSSPolarity)</div>
<div class="line"><a id="l01204" name="l01204"></a><span class="lineno"> 1204</span>{</div>
<div class="line"><a id="l01205" name="l01205"></a><span class="lineno"> 1205</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaa1829b079924734042d20b1671fecc1d">SPI_CFG2_SSIOP</a>, NSSPolarity);</div>
<div class="line"><a id="l01206" name="l01206"></a><span class="lineno"> 1206</span>}</div>
<div class="line"><a id="l01207" name="l01207"></a><span class="lineno"> 1207</span></div>
<div class="line"><a id="l01216" name="l01216"></a><span class="lineno"> 1216</span>__STATIC_INLINE uint32_t LL_SPI_GetNSSPolarity(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01217" name="l01217"></a><span class="lineno"> 1217</span>{</div>
<div class="line"><a id="l01218" name="l01218"></a><span class="lineno"> 1218</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaa1829b079924734042d20b1671fecc1d">SPI_CFG2_SSIOP</a>));</div>
<div class="line"><a id="l01219" name="l01219"></a><span class="lineno"> 1219</span>}</div>
<div class="line"><a id="l01220" name="l01220"></a><span class="lineno"> 1220</span></div>
<div class="line"><a id="l01238" name="l01238"></a><span class="lineno"> 1238</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetBaudRatePrescaler(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t Baudrate)</div>
<div class="line"><a id="l01239" name="l01239"></a><span class="lineno"> 1239</span>{</div>
<div class="line"><a id="l01240" name="l01240"></a><span class="lineno"> 1240</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga4a94302de465966446b502162851b455">SPI_CFG1_MBR</a>, Baudrate);</div>
<div class="line"><a id="l01241" name="l01241"></a><span class="lineno"> 1241</span>}</div>
<div class="line"><a id="l01242" name="l01242"></a><span class="lineno"> 1242</span></div>
<div class="line"><a id="l01257" name="l01257"></a><span class="lineno"> 1257</span>__STATIC_INLINE uint32_t LL_SPI_GetBaudRatePrescaler(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01258" name="l01258"></a><span class="lineno"> 1258</span>{</div>
<div class="line"><a id="l01259" name="l01259"></a><span class="lineno"> 1259</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga4a94302de465966446b502162851b455">SPI_CFG1_MBR</a>));</div>
<div class="line"><a id="l01260" name="l01260"></a><span class="lineno"> 1260</span>}</div>
<div class="line"><a id="l01261" name="l01261"></a><span class="lineno"> 1261</span></div>
<div class="line"><a id="l01273" name="l01273"></a><span class="lineno"> 1273</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetTransferBitOrder(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t BitOrder)</div>
<div class="line"><a id="l01274" name="l01274"></a><span class="lineno"> 1274</span>{</div>
<div class="line"><a id="l01275" name="l01275"></a><span class="lineno"> 1275</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaaff6b7fae6de0289fd47beb27c3120b9">SPI_CFG2_LSBFRST</a>, BitOrder);</div>
<div class="line"><a id="l01276" name="l01276"></a><span class="lineno"> 1276</span>}</div>
<div class="line"><a id="l01277" name="l01277"></a><span class="lineno"> 1277</span></div>
<div class="line"><a id="l01286" name="l01286"></a><span class="lineno"> 1286</span>__STATIC_INLINE uint32_t LL_SPI_GetTransferBitOrder(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01287" name="l01287"></a><span class="lineno"> 1287</span>{</div>
<div class="line"><a id="l01288" name="l01288"></a><span class="lineno"> 1288</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaaff6b7fae6de0289fd47beb27c3120b9">SPI_CFG2_LSBFRST</a>));</div>
<div class="line"><a id="l01289" name="l01289"></a><span class="lineno"> 1289</span>}</div>
<div class="line"><a id="l01290" name="l01290"></a><span class="lineno"> 1290</span></div>
<div class="line"><a id="l01306" name="l01306"></a><span class="lineno"> 1306</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetTransferDirection(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t TransferDirection)</div>
<div class="line"><a id="l01307" name="l01307"></a><span class="lineno"> 1307</span>{</div>
<div class="line"><a id="l01308" name="l01308"></a><span class="lineno"> 1308</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga71105846351660951df077c563a0a437">SPI_CR1_HDDIR</a>,  TransferDirection &amp; <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga71105846351660951df077c563a0a437">SPI_CR1_HDDIR</a>);</div>
<div class="line"><a id="l01309" name="l01309"></a><span class="lineno"> 1309</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1b7bf18425d7ade65a2e772fde619bf1">SPI_CFG2_COMM</a>, TransferDirection &amp; <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1b7bf18425d7ade65a2e772fde619bf1">SPI_CFG2_COMM</a>);</div>
<div class="line"><a id="l01310" name="l01310"></a><span class="lineno"> 1310</span>}</div>
<div class="line"><a id="l01311" name="l01311"></a><span class="lineno"> 1311</span></div>
<div class="line"><a id="l01324" name="l01324"></a><span class="lineno"> 1324</span>__STATIC_INLINE uint32_t LL_SPI_GetTransferDirection(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01325" name="l01325"></a><span class="lineno"> 1325</span>{</div>
<div class="line"><a id="l01326" name="l01326"></a><span class="lineno"> 1326</span>  uint32_t Hddir = READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga71105846351660951df077c563a0a437">SPI_CR1_HDDIR</a>);</div>
<div class="line"><a id="l01327" name="l01327"></a><span class="lineno"> 1327</span>  uint32_t Comm = READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1b7bf18425d7ade65a2e772fde619bf1">SPI_CFG2_COMM</a>);</div>
<div class="line"><a id="l01328" name="l01328"></a><span class="lineno"> 1328</span>  <span class="keywordflow">return</span> (Hddir | Comm);</div>
<div class="line"><a id="l01329" name="l01329"></a><span class="lineno"> 1329</span>}</div>
<div class="line"><a id="l01330" name="l01330"></a><span class="lineno"> 1330</span></div>
<div class="line"><a id="l01341" name="l01341"></a><span class="lineno"> 1341</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetHalfDuplexDirection(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t HalfDuplexDirection)</div>
<div class="line"><a id="l01342" name="l01342"></a><span class="lineno"> 1342</span>{</div>
<div class="line"><a id="l01343" name="l01343"></a><span class="lineno"> 1343</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga71105846351660951df077c563a0a437">SPI_CR1_HDDIR</a>, HalfDuplexDirection &amp; <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga71105846351660951df077c563a0a437">SPI_CR1_HDDIR</a>);</div>
<div class="line"><a id="l01344" name="l01344"></a><span class="lineno"> 1344</span>}</div>
<div class="line"><a id="l01345" name="l01345"></a><span class="lineno"> 1345</span></div>
<div class="line"><a id="l01355" name="l01355"></a><span class="lineno"> 1355</span>__STATIC_INLINE uint32_t LL_SPI_GetHalfDuplexDirection(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01356" name="l01356"></a><span class="lineno"> 1356</span>{</div>
<div class="line"><a id="l01357" name="l01357"></a><span class="lineno"> 1357</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga71105846351660951df077c563a0a437">SPI_CR1_HDDIR</a>) | <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1b7bf18425d7ade65a2e772fde619bf1">SPI_CFG2_COMM</a>);</div>
<div class="line"><a id="l01358" name="l01358"></a><span class="lineno"> 1358</span>}</div>
<div class="line"><a id="l01359" name="l01359"></a><span class="lineno"> 1359</span></div>
<div class="line"><a id="l01397" name="l01397"></a><span class="lineno"> 1397</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetDataWidth(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t DataWidth)</div>
<div class="line"><a id="l01398" name="l01398"></a><span class="lineno"> 1398</span>{</div>
<div class="line"><a id="l01399" name="l01399"></a><span class="lineno"> 1399</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gab9090ae865e0d132177fb39e812faa21">SPI_CFG1_DSIZE</a>, DataWidth);</div>
<div class="line"><a id="l01400" name="l01400"></a><span class="lineno"> 1400</span>}</div>
<div class="line"><a id="l01401" name="l01401"></a><span class="lineno"> 1401</span></div>
<div class="line"><a id="l01437" name="l01437"></a><span class="lineno"> 1437</span>__STATIC_INLINE uint32_t LL_SPI_GetDataWidth(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01438" name="l01438"></a><span class="lineno"> 1438</span>{</div>
<div class="line"><a id="l01439" name="l01439"></a><span class="lineno"> 1439</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gab9090ae865e0d132177fb39e812faa21">SPI_CFG1_DSIZE</a>));</div>
<div class="line"><a id="l01440" name="l01440"></a><span class="lineno"> 1440</span>}</div>
<div class="line"><a id="l01441" name="l01441"></a><span class="lineno"> 1441</span></div>
<div class="line"><a id="l01466" name="l01466"></a><span class="lineno"> 1466</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetFIFOThreshold(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t Threshold)</div>
<div class="line"><a id="l01467" name="l01467"></a><span class="lineno"> 1467</span>{</div>
<div class="line"><a id="l01468" name="l01468"></a><span class="lineno"> 1468</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5a1c7f82a6ed86099d121c4d6dfc63a9">SPI_CFG1_FTHLV</a>, Threshold);</div>
<div class="line"><a id="l01469" name="l01469"></a><span class="lineno"> 1469</span>}</div>
<div class="line"><a id="l01470" name="l01470"></a><span class="lineno"> 1470</span></div>
<div class="line"><a id="l01493" name="l01493"></a><span class="lineno"> 1493</span>__STATIC_INLINE uint32_t LL_SPI_GetFIFOThreshold(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01494" name="l01494"></a><span class="lineno"> 1494</span>{</div>
<div class="line"><a id="l01495" name="l01495"></a><span class="lineno"> 1495</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5a1c7f82a6ed86099d121c4d6dfc63a9">SPI_CFG1_FTHLV</a>));</div>
<div class="line"><a id="l01496" name="l01496"></a><span class="lineno"> 1496</span>}</div>
<div class="line"><a id="l01497" name="l01497"></a><span class="lineno"> 1497</span></div>
<div class="line"><a id="l01505" name="l01505"></a><span class="lineno"> 1505</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableCRC(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01506" name="l01506"></a><span class="lineno"> 1506</span>{</div>
<div class="line"><a id="l01507" name="l01507"></a><span class="lineno"> 1507</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga25e56eef69334cb723e24a8d33fb0ef5">SPI_CFG1_CRCEN</a>);</div>
<div class="line"><a id="l01508" name="l01508"></a><span class="lineno"> 1508</span>}</div>
<div class="line"><a id="l01509" name="l01509"></a><span class="lineno"> 1509</span></div>
<div class="line"><a id="l01516" name="l01516"></a><span class="lineno"> 1516</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableCRC(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01517" name="l01517"></a><span class="lineno"> 1517</span>{</div>
<div class="line"><a id="l01518" name="l01518"></a><span class="lineno"> 1518</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga25e56eef69334cb723e24a8d33fb0ef5">SPI_CFG1_CRCEN</a>);</div>
<div class="line"><a id="l01519" name="l01519"></a><span class="lineno"> 1519</span>}</div>
<div class="line"><a id="l01520" name="l01520"></a><span class="lineno"> 1520</span></div>
<div class="line"><a id="l01527" name="l01527"></a><span class="lineno"> 1527</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledCRC(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01528" name="l01528"></a><span class="lineno"> 1528</span>{</div>
<div class="line"><a id="l01529" name="l01529"></a><span class="lineno"> 1529</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga25e56eef69334cb723e24a8d33fb0ef5">SPI_CFG1_CRCEN</a>) == <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga25e56eef69334cb723e24a8d33fb0ef5">SPI_CFG1_CRCEN</a>) ? 1UL : 0UL);</div>
<div class="line"><a id="l01530" name="l01530"></a><span class="lineno"> 1530</span>}</div>
<div class="line"><a id="l01531" name="l01531"></a><span class="lineno"> 1531</span></div>
<div class="line"><a id="l01569" name="l01569"></a><span class="lineno"> 1569</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetCRCWidth(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t CRCLength)</div>
<div class="line"><a id="l01570" name="l01570"></a><span class="lineno"> 1570</span>{</div>
<div class="line"><a id="l01571" name="l01571"></a><span class="lineno"> 1571</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gae07ebb92fa1d04040cf5f40c38216dbd">SPI_CFG1_CRCSIZE</a>, CRCLength);</div>
<div class="line"><a id="l01572" name="l01572"></a><span class="lineno"> 1572</span>}</div>
<div class="line"><a id="l01573" name="l01573"></a><span class="lineno"> 1573</span></div>
<div class="line"><a id="l01609" name="l01609"></a><span class="lineno"> 1609</span>__STATIC_INLINE uint32_t LL_SPI_GetCRCWidth(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01610" name="l01610"></a><span class="lineno"> 1610</span>{</div>
<div class="line"><a id="l01611" name="l01611"></a><span class="lineno"> 1611</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gae07ebb92fa1d04040cf5f40c38216dbd">SPI_CFG1_CRCSIZE</a>));</div>
<div class="line"><a id="l01612" name="l01612"></a><span class="lineno"> 1612</span>}</div>
<div class="line"><a id="l01613" name="l01613"></a><span class="lineno"> 1613</span></div>
<div class="line"><a id="l01627" name="l01627"></a><span class="lineno"> 1627</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetNSSMode(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t NSS)</div>
<div class="line"><a id="l01628" name="l01628"></a><span class="lineno"> 1628</span>{</div>
<div class="line"><a id="l01629" name="l01629"></a><span class="lineno"> 1629</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gad0e7364142f9a7eb6b5c59897dd8b72d">SPI_CFG2_SSM</a> | <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga9c9863c4e8e013e090efbe2cc7d82c45">SPI_CFG2_SSOE</a>, NSS);</div>
<div class="line"><a id="l01630" name="l01630"></a><span class="lineno"> 1630</span>}</div>
<div class="line"><a id="l01631" name="l01631"></a><span class="lineno"> 1631</span></div>
<div class="line"><a id="l01642" name="l01642"></a><span class="lineno"> 1642</span>__STATIC_INLINE uint32_t LL_SPI_GetNSSMode(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01643" name="l01643"></a><span class="lineno"> 1643</span>{</div>
<div class="line"><a id="l01644" name="l01644"></a><span class="lineno"> 1644</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gad0e7364142f9a7eb6b5c59897dd8b72d">SPI_CFG2_SSM</a> | <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga9c9863c4e8e013e090efbe2cc7d82c45">SPI_CFG2_SSOE</a>));</div>
<div class="line"><a id="l01645" name="l01645"></a><span class="lineno"> 1645</span>}</div>
<div class="line"><a id="l01646" name="l01646"></a><span class="lineno"> 1646</span></div>
<div class="line"><a id="l01655" name="l01655"></a><span class="lineno"> 1655</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableNSSPulseMgt(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01656" name="l01656"></a><span class="lineno"> 1656</span>{</div>
<div class="line"><a id="l01657" name="l01657"></a><span class="lineno"> 1657</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gabe0131b6501f637fa0168c031050818d">SPI_CFG2_SSOM</a>);</div>
<div class="line"><a id="l01658" name="l01658"></a><span class="lineno"> 1658</span>}</div>
<div class="line"><a id="l01659" name="l01659"></a><span class="lineno"> 1659</span></div>
<div class="line"><a id="l01668" name="l01668"></a><span class="lineno"> 1668</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableNSSPulseMgt(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01669" name="l01669"></a><span class="lineno"> 1669</span>{</div>
<div class="line"><a id="l01670" name="l01670"></a><span class="lineno"> 1670</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gabe0131b6501f637fa0168c031050818d">SPI_CFG2_SSOM</a>);</div>
<div class="line"><a id="l01671" name="l01671"></a><span class="lineno"> 1671</span>}</div>
<div class="line"><a id="l01672" name="l01672"></a><span class="lineno"> 1672</span></div>
<div class="line"><a id="l01679" name="l01679"></a><span class="lineno"> 1679</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledNSSPulse(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01680" name="l01680"></a><span class="lineno"> 1680</span>{</div>
<div class="line"><a id="l01681" name="l01681"></a><span class="lineno"> 1681</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">CFG2</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gabe0131b6501f637fa0168c031050818d">SPI_CFG2_SSOM</a>) == <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gabe0131b6501f637fa0168c031050818d">SPI_CFG2_SSOM</a>) ? 1UL : 0UL);</div>
<div class="line"><a id="l01682" name="l01682"></a><span class="lineno"> 1682</span>}</div>
<div class="line"><a id="l01683" name="l01683"></a><span class="lineno"> 1683</span></div>
<div class="line"><a id="l01687" name="l01687"></a><span class="lineno"> 1687</span></div>
<div class="line"><a id="l01691" name="l01691"></a><span class="lineno"> 1691</span></div>
<div class="line"><a id="l01698" name="l01698"></a><span class="lineno"> 1698</span>__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_RXP(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01699" name="l01699"></a><span class="lineno"> 1699</span>{</div>
<div class="line"><a id="l01700" name="l01700"></a><span class="lineno"> 1700</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga95289b0733d92829f9f0189574dc1d54">SPI_SR_RXP</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga95289b0733d92829f9f0189574dc1d54">SPI_SR_RXP</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01701" name="l01701"></a><span class="lineno"> 1701</span>}</div>
<div class="line"><a id="l01702" name="l01702"></a><span class="lineno"> 1702</span></div>
<div class="line"><a id="l01709" name="l01709"></a><span class="lineno"> 1709</span>__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_TXP(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01710" name="l01710"></a><span class="lineno"> 1710</span>{</div>
<div class="line"><a id="l01711" name="l01711"></a><span class="lineno"> 1711</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga9f7199bbdd797f0238aaaf9cc42e4f64">SPI_SR_TXP</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga9f7199bbdd797f0238aaaf9cc42e4f64">SPI_SR_TXP</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01712" name="l01712"></a><span class="lineno"> 1712</span>}</div>
<div class="line"><a id="l01713" name="l01713"></a><span class="lineno"> 1713</span></div>
<div class="line"><a id="l01720" name="l01720"></a><span class="lineno"> 1720</span>__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_DXP(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01721" name="l01721"></a><span class="lineno"> 1721</span>{</div>
<div class="line"><a id="l01722" name="l01722"></a><span class="lineno"> 1722</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga73f785111c63d6e951018ebc0fffacf6">SPI_SR_DXP</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga73f785111c63d6e951018ebc0fffacf6">SPI_SR_DXP</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01723" name="l01723"></a><span class="lineno"> 1723</span>}</div>
<div class="line"><a id="l01724" name="l01724"></a><span class="lineno"> 1724</span></div>
<div class="line"><a id="l01731" name="l01731"></a><span class="lineno"> 1731</span>__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_EOT(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01732" name="l01732"></a><span class="lineno"> 1732</span>{</div>
<div class="line"><a id="l01733" name="l01733"></a><span class="lineno"> 1733</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gadf6af11782cace2048e20c18d4d63e1a">SPI_SR_EOT</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gadf6af11782cace2048e20c18d4d63e1a">SPI_SR_EOT</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01734" name="l01734"></a><span class="lineno"> 1734</span>}</div>
<div class="line"><a id="l01735" name="l01735"></a><span class="lineno"> 1735</span></div>
<div class="line"><a id="l01742" name="l01742"></a><span class="lineno"> 1742</span>__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_TXTF(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01743" name="l01743"></a><span class="lineno"> 1743</span>{</div>
<div class="line"><a id="l01744" name="l01744"></a><span class="lineno"> 1744</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac0e93a296bc722bab78d526bf1cc2f7d">SPI_SR_TXTF</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac0e93a296bc722bab78d526bf1cc2f7d">SPI_SR_TXTF</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01745" name="l01745"></a><span class="lineno"> 1745</span>}</div>
<div class="line"><a id="l01746" name="l01746"></a><span class="lineno"> 1746</span></div>
<div class="line"><a id="l01753" name="l01753"></a><span class="lineno"> 1753</span>__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_UDR(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01754" name="l01754"></a><span class="lineno"> 1754</span>{</div>
<div class="line"><a id="l01755" name="l01755"></a><span class="lineno"> 1755</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga13d3292e963499c0e9a36869909229e6">SPI_SR_UDR</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga13d3292e963499c0e9a36869909229e6">SPI_SR_UDR</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01756" name="l01756"></a><span class="lineno"> 1756</span>}</div>
<div class="line"><a id="l01757" name="l01757"></a><span class="lineno"> 1757</span></div>
<div class="line"><a id="l01764" name="l01764"></a><span class="lineno"> 1764</span>__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_CRCERR(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01765" name="l01765"></a><span class="lineno"> 1765</span>{</div>
<div class="line"><a id="l01766" name="l01766"></a><span class="lineno"> 1766</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga4c0cf2db0d5d372242e66e6d7da50b39">SPI_SR_CRCE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga4c0cf2db0d5d372242e66e6d7da50b39">SPI_SR_CRCE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01767" name="l01767"></a><span class="lineno"> 1767</span>}</div>
<div class="line"><a id="l01768" name="l01768"></a><span class="lineno"> 1768</span></div>
<div class="line"><a id="l01775" name="l01775"></a><span class="lineno"> 1775</span>__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_MODF(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01776" name="l01776"></a><span class="lineno"> 1776</span>{</div>
<div class="line"><a id="l01777" name="l01777"></a><span class="lineno"> 1777</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gabaa043349833dc7b8138969c64f63adf">SPI_SR_MODF</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gabaa043349833dc7b8138969c64f63adf">SPI_SR_MODF</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01778" name="l01778"></a><span class="lineno"> 1778</span>}</div>
<div class="line"><a id="l01779" name="l01779"></a><span class="lineno"> 1779</span></div>
<div class="line"><a id="l01786" name="l01786"></a><span class="lineno"> 1786</span>__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_OVR(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01787" name="l01787"></a><span class="lineno"> 1787</span>{</div>
<div class="line"><a id="l01788" name="l01788"></a><span class="lineno"> 1788</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaa8d902302c5eb81ce4a57029de281232">SPI_SR_OVR</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaa8d902302c5eb81ce4a57029de281232">SPI_SR_OVR</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01789" name="l01789"></a><span class="lineno"> 1789</span>}</div>
<div class="line"><a id="l01790" name="l01790"></a><span class="lineno"> 1790</span></div>
<div class="line"><a id="l01797" name="l01797"></a><span class="lineno"> 1797</span>__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_FRE(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01798" name="l01798"></a><span class="lineno"> 1798</span>{</div>
<div class="line"><a id="l01799" name="l01799"></a><span class="lineno"> 1799</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf3e3c940fb46d8b32456c59819e615be">SPI_SR_TIFRE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf3e3c940fb46d8b32456c59819e615be">SPI_SR_TIFRE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01800" name="l01800"></a><span class="lineno"> 1800</span>}</div>
<div class="line"><a id="l01801" name="l01801"></a><span class="lineno"> 1801</span></div>
<div class="line"><a id="l01808" name="l01808"></a><span class="lineno"> 1808</span>__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_TSER(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01809" name="l01809"></a><span class="lineno"> 1809</span>{</div>
<div class="line"><a id="l01810" name="l01810"></a><span class="lineno"> 1810</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5332b248a3daf660df7f13098e75da46">SPI_SR_TSERF</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5332b248a3daf660df7f13098e75da46">SPI_SR_TSERF</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01811" name="l01811"></a><span class="lineno"> 1811</span>}</div>
<div class="line"><a id="l01812" name="l01812"></a><span class="lineno"> 1812</span></div>
<div class="line"><a id="l01819" name="l01819"></a><span class="lineno"> 1819</span>__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_SUSP(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01820" name="l01820"></a><span class="lineno"> 1820</span>{</div>
<div class="line"><a id="l01821" name="l01821"></a><span class="lineno"> 1821</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga3294b6597873bd2c0f2acb9e722e18cc">SPI_SR_SUSP</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga3294b6597873bd2c0f2acb9e722e18cc">SPI_SR_SUSP</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01822" name="l01822"></a><span class="lineno"> 1822</span>}</div>
<div class="line"><a id="l01823" name="l01823"></a><span class="lineno"> 1823</span></div>
<div class="line"><a id="l01830" name="l01830"></a><span class="lineno"> 1830</span>__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_TXC(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01831" name="l01831"></a><span class="lineno"> 1831</span>{</div>
<div class="line"><a id="l01832" name="l01832"></a><span class="lineno"> 1832</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1695e2f6e8d042aeae4d9f07e96dfe1a">SPI_SR_TXC</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1695e2f6e8d042aeae4d9f07e96dfe1a">SPI_SR_TXC</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01833" name="l01833"></a><span class="lineno"> 1833</span>}</div>
<div class="line"><a id="l01834" name="l01834"></a><span class="lineno"> 1834</span></div>
<div class="line"><a id="l01841" name="l01841"></a><span class="lineno"> 1841</span>__STATIC_INLINE uint32_t LL_SPI_IsActiveFlag_RXWNE(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01842" name="l01842"></a><span class="lineno"> 1842</span>{</div>
<div class="line"><a id="l01843" name="l01843"></a><span class="lineno"> 1843</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gab6334377efffc8f2733962c827a4bf03">SPI_SR_RXWNE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gab6334377efffc8f2733962c827a4bf03">SPI_SR_RXWNE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l01844" name="l01844"></a><span class="lineno"> 1844</span>}</div>
<div class="line"><a id="l01845" name="l01845"></a><span class="lineno"> 1845</span></div>
<div class="line"><a id="l01852" name="l01852"></a><span class="lineno"> 1852</span>__STATIC_INLINE uint32_t LL_SPI_GetRemainingDataFrames(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01853" name="l01853"></a><span class="lineno"> 1853</span>{</div>
<div class="line"><a id="l01854" name="l01854"></a><span class="lineno"> 1854</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga6f37d39b4458955b93c69ad7c454dfdf">SPI_SR_CTSIZE</a>) &gt;&gt; SPI_SR_CTSIZE_Pos);</div>
<div class="line"><a id="l01855" name="l01855"></a><span class="lineno"> 1855</span>}</div>
<div class="line"><a id="l01856" name="l01856"></a><span class="lineno"> 1856</span></div>
<div class="line"><a id="l01867" name="l01867"></a><span class="lineno"> 1867</span>__STATIC_INLINE uint32_t LL_SPI_GetRxFIFOPackingLevel(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01868" name="l01868"></a><span class="lineno"> 1868</span>{</div>
<div class="line"><a id="l01869" name="l01869"></a><span class="lineno"> 1869</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga09c4e3cd9a199757d6f3ac06e5bc110f">SPI_SR_RXPLVL</a>));</div>
<div class="line"><a id="l01870" name="l01870"></a><span class="lineno"> 1870</span>}</div>
<div class="line"><a id="l01871" name="l01871"></a><span class="lineno"> 1871</span></div>
<div class="line"><a id="l01878" name="l01878"></a><span class="lineno"> 1878</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_ClearFlag_EOT(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01879" name="l01879"></a><span class="lineno"> 1879</span>{</div>
<div class="line"><a id="l01880" name="l01880"></a><span class="lineno"> 1880</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ada4f3c195a523945fca842215c67d8d5">IFCR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga0a13f7af7ba888d7dbbbf016ccac324b">SPI_IFCR_EOTC</a>);</div>
<div class="line"><a id="l01881" name="l01881"></a><span class="lineno"> 1881</span>}</div>
<div class="line"><a id="l01882" name="l01882"></a><span class="lineno"> 1882</span></div>
<div class="line"><a id="l01889" name="l01889"></a><span class="lineno"> 1889</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_ClearFlag_TXTF(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01890" name="l01890"></a><span class="lineno"> 1890</span>{</div>
<div class="line"><a id="l01891" name="l01891"></a><span class="lineno"> 1891</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ada4f3c195a523945fca842215c67d8d5">IFCR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga45f2b0107d9e8789831c616c984088e0">SPI_IFCR_TXTFC</a>);</div>
<div class="line"><a id="l01892" name="l01892"></a><span class="lineno"> 1892</span>}</div>
<div class="line"><a id="l01893" name="l01893"></a><span class="lineno"> 1893</span></div>
<div class="line"><a id="l01900" name="l01900"></a><span class="lineno"> 1900</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_ClearFlag_UDR(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01901" name="l01901"></a><span class="lineno"> 1901</span>{</div>
<div class="line"><a id="l01902" name="l01902"></a><span class="lineno"> 1902</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ada4f3c195a523945fca842215c67d8d5">IFCR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga13b510c8ba08f0e130469ab6a94c844a">SPI_IFCR_UDRC</a>);</div>
<div class="line"><a id="l01903" name="l01903"></a><span class="lineno"> 1903</span>}</div>
<div class="line"><a id="l01904" name="l01904"></a><span class="lineno"> 1904</span></div>
<div class="line"><a id="l01911" name="l01911"></a><span class="lineno"> 1911</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_ClearFlag_OVR(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01912" name="l01912"></a><span class="lineno"> 1912</span>{</div>
<div class="line"><a id="l01913" name="l01913"></a><span class="lineno"> 1913</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ada4f3c195a523945fca842215c67d8d5">IFCR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gafe909f94add018dc698a1057b6e174da">SPI_IFCR_OVRC</a>);</div>
<div class="line"><a id="l01914" name="l01914"></a><span class="lineno"> 1914</span>}</div>
<div class="line"><a id="l01915" name="l01915"></a><span class="lineno"> 1915</span></div>
<div class="line"><a id="l01922" name="l01922"></a><span class="lineno"> 1922</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_ClearFlag_CRCERR(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01923" name="l01923"></a><span class="lineno"> 1923</span>{</div>
<div class="line"><a id="l01924" name="l01924"></a><span class="lineno"> 1924</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ada4f3c195a523945fca842215c67d8d5">IFCR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaa776b437fb542da2298b25f64d2b4820">SPI_IFCR_CRCEC</a>);</div>
<div class="line"><a id="l01925" name="l01925"></a><span class="lineno"> 1925</span>}</div>
<div class="line"><a id="l01926" name="l01926"></a><span class="lineno"> 1926</span></div>
<div class="line"><a id="l01933" name="l01933"></a><span class="lineno"> 1933</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_ClearFlag_MODF(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01934" name="l01934"></a><span class="lineno"> 1934</span>{</div>
<div class="line"><a id="l01935" name="l01935"></a><span class="lineno"> 1935</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ada4f3c195a523945fca842215c67d8d5">IFCR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga33f5f7e482ff62448df98ed1bef9d62b">SPI_IFCR_MODFC</a>);</div>
<div class="line"><a id="l01936" name="l01936"></a><span class="lineno"> 1936</span>}</div>
<div class="line"><a id="l01937" name="l01937"></a><span class="lineno"> 1937</span></div>
<div class="line"><a id="l01944" name="l01944"></a><span class="lineno"> 1944</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_ClearFlag_FRE(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01945" name="l01945"></a><span class="lineno"> 1945</span>{</div>
<div class="line"><a id="l01946" name="l01946"></a><span class="lineno"> 1946</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ada4f3c195a523945fca842215c67d8d5">IFCR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gadec3e1c72d5f45f6b9a2681d8275ffb5">SPI_IFCR_TIFREC</a>);</div>
<div class="line"><a id="l01947" name="l01947"></a><span class="lineno"> 1947</span>}</div>
<div class="line"><a id="l01948" name="l01948"></a><span class="lineno"> 1948</span></div>
<div class="line"><a id="l01955" name="l01955"></a><span class="lineno"> 1955</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_ClearFlag_TSER(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01956" name="l01956"></a><span class="lineno"> 1956</span>{</div>
<div class="line"><a id="l01957" name="l01957"></a><span class="lineno"> 1957</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ada4f3c195a523945fca842215c67d8d5">IFCR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gad058d0a0046d7de998d9d73635009c9e">SPI_IFCR_TSERFC</a>);</div>
<div class="line"><a id="l01958" name="l01958"></a><span class="lineno"> 1958</span>}</div>
<div class="line"><a id="l01959" name="l01959"></a><span class="lineno"> 1959</span></div>
<div class="line"><a id="l01966" name="l01966"></a><span class="lineno"> 1966</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_ClearFlag_SUSP(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01967" name="l01967"></a><span class="lineno"> 1967</span>{</div>
<div class="line"><a id="l01968" name="l01968"></a><span class="lineno"> 1968</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#ada4f3c195a523945fca842215c67d8d5">IFCR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga63d88f8a3205e7c27d73e90df3d57a34">SPI_IFCR_SUSPC</a>);</div>
<div class="line"><a id="l01969" name="l01969"></a><span class="lineno"> 1969</span>}</div>
<div class="line"><a id="l01970" name="l01970"></a><span class="lineno"> 1970</span></div>
<div class="line"><a id="l01974" name="l01974"></a><span class="lineno"> 1974</span></div>
<div class="line"><a id="l01978" name="l01978"></a><span class="lineno"> 1978</span></div>
<div class="line"><a id="l01985" name="l01985"></a><span class="lineno"> 1985</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableIT_RXP(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01986" name="l01986"></a><span class="lineno"> 1986</span>{</div>
<div class="line"><a id="l01987" name="l01987"></a><span class="lineno"> 1987</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga87b292843107573ae82aa13d88916646">SPI_IER_RXPIE</a>);</div>
<div class="line"><a id="l01988" name="l01988"></a><span class="lineno"> 1988</span>}</div>
<div class="line"><a id="l01989" name="l01989"></a><span class="lineno"> 1989</span></div>
<div class="line"><a id="l01996" name="l01996"></a><span class="lineno"> 1996</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableIT_TXP(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l01997" name="l01997"></a><span class="lineno"> 1997</span>{</div>
<div class="line"><a id="l01998" name="l01998"></a><span class="lineno"> 1998</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga40ad06dce5bd7f4f2d1db25e8ecd33a4">SPI_IER_TXPIE</a>);</div>
<div class="line"><a id="l01999" name="l01999"></a><span class="lineno"> 1999</span>}</div>
<div class="line"><a id="l02000" name="l02000"></a><span class="lineno"> 2000</span></div>
<div class="line"><a id="l02007" name="l02007"></a><span class="lineno"> 2007</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableIT_DXP(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02008" name="l02008"></a><span class="lineno"> 2008</span>{</div>
<div class="line"><a id="l02009" name="l02009"></a><span class="lineno"> 2009</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5fde811db0bae41847c2c56d20e1983b">SPI_IER_DXPIE</a>);</div>
<div class="line"><a id="l02010" name="l02010"></a><span class="lineno"> 2010</span>}</div>
<div class="line"><a id="l02011" name="l02011"></a><span class="lineno"> 2011</span></div>
<div class="line"><a id="l02018" name="l02018"></a><span class="lineno"> 2018</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableIT_EOT(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02019" name="l02019"></a><span class="lineno"> 2019</span>{</div>
<div class="line"><a id="l02020" name="l02020"></a><span class="lineno"> 2020</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gadd814e85e0f2cc9fd5fbedbd1db232c1">SPI_IER_EOTIE</a>);</div>
<div class="line"><a id="l02021" name="l02021"></a><span class="lineno"> 2021</span>}</div>
<div class="line"><a id="l02022" name="l02022"></a><span class="lineno"> 2022</span></div>
<div class="line"><a id="l02029" name="l02029"></a><span class="lineno"> 2029</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableIT_TXTF(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02030" name="l02030"></a><span class="lineno"> 2030</span>{</div>
<div class="line"><a id="l02031" name="l02031"></a><span class="lineno"> 2031</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf329c2e8fb5112c4efdcac4c69bf95fb">SPI_IER_TXTFIE</a>);</div>
<div class="line"><a id="l02032" name="l02032"></a><span class="lineno"> 2032</span>}</div>
<div class="line"><a id="l02033" name="l02033"></a><span class="lineno"> 2033</span></div>
<div class="line"><a id="l02040" name="l02040"></a><span class="lineno"> 2040</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableIT_UDR(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02041" name="l02041"></a><span class="lineno"> 2041</span>{</div>
<div class="line"><a id="l02042" name="l02042"></a><span class="lineno"> 2042</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga33d0436c4b553cc357b52b9ecaaf542f">SPI_IER_UDRIE</a>);</div>
<div class="line"><a id="l02043" name="l02043"></a><span class="lineno"> 2043</span>}</div>
<div class="line"><a id="l02044" name="l02044"></a><span class="lineno"> 2044</span></div>
<div class="line"><a id="l02051" name="l02051"></a><span class="lineno"> 2051</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableIT_OVR(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02052" name="l02052"></a><span class="lineno"> 2052</span>{</div>
<div class="line"><a id="l02053" name="l02053"></a><span class="lineno"> 2053</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga6ba53086c19a3260e0555ace5d700c42">SPI_IER_OVRIE</a>);</div>
<div class="line"><a id="l02054" name="l02054"></a><span class="lineno"> 2054</span>}</div>
<div class="line"><a id="l02055" name="l02055"></a><span class="lineno"> 2055</span></div>
<div class="line"><a id="l02062" name="l02062"></a><span class="lineno"> 2062</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableIT_CRCERR(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02063" name="l02063"></a><span class="lineno"> 2063</span>{</div>
<div class="line"><a id="l02064" name="l02064"></a><span class="lineno"> 2064</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga298b617fdd0e3d18562509839aa72fa3">SPI_IER_CRCEIE</a>);</div>
<div class="line"><a id="l02065" name="l02065"></a><span class="lineno"> 2065</span>}</div>
<div class="line"><a id="l02066" name="l02066"></a><span class="lineno"> 2066</span></div>
<div class="line"><a id="l02073" name="l02073"></a><span class="lineno"> 2073</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableIT_FRE(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02074" name="l02074"></a><span class="lineno"> 2074</span>{</div>
<div class="line"><a id="l02075" name="l02075"></a><span class="lineno"> 2075</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga07f63f1611444f70daf6b08fc18490ee">SPI_IER_TIFREIE</a>);</div>
<div class="line"><a id="l02076" name="l02076"></a><span class="lineno"> 2076</span>}</div>
<div class="line"><a id="l02077" name="l02077"></a><span class="lineno"> 2077</span></div>
<div class="line"><a id="l02084" name="l02084"></a><span class="lineno"> 2084</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableIT_MODF(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02085" name="l02085"></a><span class="lineno"> 2085</span>{</div>
<div class="line"><a id="l02086" name="l02086"></a><span class="lineno"> 2086</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga6d05af6bd42d7191edec2763928dee98">SPI_IER_MODFIE</a>);</div>
<div class="line"><a id="l02087" name="l02087"></a><span class="lineno"> 2087</span>}</div>
<div class="line"><a id="l02088" name="l02088"></a><span class="lineno"> 2088</span></div>
<div class="line"><a id="l02095" name="l02095"></a><span class="lineno"> 2095</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableIT_TSER(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02096" name="l02096"></a><span class="lineno"> 2096</span>{</div>
<div class="line"><a id="l02097" name="l02097"></a><span class="lineno"> 2097</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1a4844bc9d90e49ba0dcacf7787f2e16">SPI_IER_TSERFIE</a>);</div>
<div class="line"><a id="l02098" name="l02098"></a><span class="lineno"> 2098</span>}</div>
<div class="line"><a id="l02099" name="l02099"></a><span class="lineno"> 2099</span></div>
<div class="line"><a id="l02106" name="l02106"></a><span class="lineno"> 2106</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableIT_RXP(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02107" name="l02107"></a><span class="lineno"> 2107</span>{</div>
<div class="line"><a id="l02108" name="l02108"></a><span class="lineno"> 2108</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga87b292843107573ae82aa13d88916646">SPI_IER_RXPIE</a>);</div>
<div class="line"><a id="l02109" name="l02109"></a><span class="lineno"> 2109</span>}</div>
<div class="line"><a id="l02110" name="l02110"></a><span class="lineno"> 2110</span></div>
<div class="line"><a id="l02117" name="l02117"></a><span class="lineno"> 2117</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableIT_TXP(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02118" name="l02118"></a><span class="lineno"> 2118</span>{</div>
<div class="line"><a id="l02119" name="l02119"></a><span class="lineno"> 2119</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga40ad06dce5bd7f4f2d1db25e8ecd33a4">SPI_IER_TXPIE</a>);</div>
<div class="line"><a id="l02120" name="l02120"></a><span class="lineno"> 2120</span>}</div>
<div class="line"><a id="l02121" name="l02121"></a><span class="lineno"> 2121</span></div>
<div class="line"><a id="l02128" name="l02128"></a><span class="lineno"> 2128</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableIT_DXP(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02129" name="l02129"></a><span class="lineno"> 2129</span>{</div>
<div class="line"><a id="l02130" name="l02130"></a><span class="lineno"> 2130</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5fde811db0bae41847c2c56d20e1983b">SPI_IER_DXPIE</a>);</div>
<div class="line"><a id="l02131" name="l02131"></a><span class="lineno"> 2131</span>}</div>
<div class="line"><a id="l02132" name="l02132"></a><span class="lineno"> 2132</span></div>
<div class="line"><a id="l02139" name="l02139"></a><span class="lineno"> 2139</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableIT_EOT(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02140" name="l02140"></a><span class="lineno"> 2140</span>{</div>
<div class="line"><a id="l02141" name="l02141"></a><span class="lineno"> 2141</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gadd814e85e0f2cc9fd5fbedbd1db232c1">SPI_IER_EOTIE</a>);</div>
<div class="line"><a id="l02142" name="l02142"></a><span class="lineno"> 2142</span>}</div>
<div class="line"><a id="l02143" name="l02143"></a><span class="lineno"> 2143</span></div>
<div class="line"><a id="l02150" name="l02150"></a><span class="lineno"> 2150</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableIT_TXTF(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02151" name="l02151"></a><span class="lineno"> 2151</span>{</div>
<div class="line"><a id="l02152" name="l02152"></a><span class="lineno"> 2152</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf329c2e8fb5112c4efdcac4c69bf95fb">SPI_IER_TXTFIE</a>);</div>
<div class="line"><a id="l02153" name="l02153"></a><span class="lineno"> 2153</span>}</div>
<div class="line"><a id="l02154" name="l02154"></a><span class="lineno"> 2154</span></div>
<div class="line"><a id="l02161" name="l02161"></a><span class="lineno"> 2161</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableIT_UDR(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02162" name="l02162"></a><span class="lineno"> 2162</span>{</div>
<div class="line"><a id="l02163" name="l02163"></a><span class="lineno"> 2163</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga33d0436c4b553cc357b52b9ecaaf542f">SPI_IER_UDRIE</a>);</div>
<div class="line"><a id="l02164" name="l02164"></a><span class="lineno"> 2164</span>}</div>
<div class="line"><a id="l02165" name="l02165"></a><span class="lineno"> 2165</span></div>
<div class="line"><a id="l02172" name="l02172"></a><span class="lineno"> 2172</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableIT_OVR(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02173" name="l02173"></a><span class="lineno"> 2173</span>{</div>
<div class="line"><a id="l02174" name="l02174"></a><span class="lineno"> 2174</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga6ba53086c19a3260e0555ace5d700c42">SPI_IER_OVRIE</a>);</div>
<div class="line"><a id="l02175" name="l02175"></a><span class="lineno"> 2175</span>}</div>
<div class="line"><a id="l02176" name="l02176"></a><span class="lineno"> 2176</span></div>
<div class="line"><a id="l02183" name="l02183"></a><span class="lineno"> 2183</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableIT_CRCERR(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02184" name="l02184"></a><span class="lineno"> 2184</span>{</div>
<div class="line"><a id="l02185" name="l02185"></a><span class="lineno"> 2185</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga298b617fdd0e3d18562509839aa72fa3">SPI_IER_CRCEIE</a>);</div>
<div class="line"><a id="l02186" name="l02186"></a><span class="lineno"> 2186</span>}</div>
<div class="line"><a id="l02187" name="l02187"></a><span class="lineno"> 2187</span></div>
<div class="line"><a id="l02194" name="l02194"></a><span class="lineno"> 2194</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableIT_FRE(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02195" name="l02195"></a><span class="lineno"> 2195</span>{</div>
<div class="line"><a id="l02196" name="l02196"></a><span class="lineno"> 2196</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga07f63f1611444f70daf6b08fc18490ee">SPI_IER_TIFREIE</a>);</div>
<div class="line"><a id="l02197" name="l02197"></a><span class="lineno"> 2197</span>}</div>
<div class="line"><a id="l02198" name="l02198"></a><span class="lineno"> 2198</span></div>
<div class="line"><a id="l02205" name="l02205"></a><span class="lineno"> 2205</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableIT_MODF(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02206" name="l02206"></a><span class="lineno"> 2206</span>{</div>
<div class="line"><a id="l02207" name="l02207"></a><span class="lineno"> 2207</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga6d05af6bd42d7191edec2763928dee98">SPI_IER_MODFIE</a>);</div>
<div class="line"><a id="l02208" name="l02208"></a><span class="lineno"> 2208</span>}</div>
<div class="line"><a id="l02209" name="l02209"></a><span class="lineno"> 2209</span></div>
<div class="line"><a id="l02216" name="l02216"></a><span class="lineno"> 2216</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableIT_TSER(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02217" name="l02217"></a><span class="lineno"> 2217</span>{</div>
<div class="line"><a id="l02218" name="l02218"></a><span class="lineno"> 2218</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1a4844bc9d90e49ba0dcacf7787f2e16">SPI_IER_TSERFIE</a>);</div>
<div class="line"><a id="l02219" name="l02219"></a><span class="lineno"> 2219</span>}</div>
<div class="line"><a id="l02220" name="l02220"></a><span class="lineno"> 2220</span></div>
<div class="line"><a id="l02227" name="l02227"></a><span class="lineno"> 2227</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_RXP(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02228" name="l02228"></a><span class="lineno"> 2228</span>{</div>
<div class="line"><a id="l02229" name="l02229"></a><span class="lineno"> 2229</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga87b292843107573ae82aa13d88916646">SPI_IER_RXPIE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga87b292843107573ae82aa13d88916646">SPI_IER_RXPIE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l02230" name="l02230"></a><span class="lineno"> 2230</span>}</div>
<div class="line"><a id="l02231" name="l02231"></a><span class="lineno"> 2231</span></div>
<div class="line"><a id="l02238" name="l02238"></a><span class="lineno"> 2238</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_TXP(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02239" name="l02239"></a><span class="lineno"> 2239</span>{</div>
<div class="line"><a id="l02240" name="l02240"></a><span class="lineno"> 2240</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga40ad06dce5bd7f4f2d1db25e8ecd33a4">SPI_IER_TXPIE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga40ad06dce5bd7f4f2d1db25e8ecd33a4">SPI_IER_TXPIE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l02241" name="l02241"></a><span class="lineno"> 2241</span>}</div>
<div class="line"><a id="l02242" name="l02242"></a><span class="lineno"> 2242</span></div>
<div class="line"><a id="l02249" name="l02249"></a><span class="lineno"> 2249</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_DXP(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02250" name="l02250"></a><span class="lineno"> 2250</span>{</div>
<div class="line"><a id="l02251" name="l02251"></a><span class="lineno"> 2251</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5fde811db0bae41847c2c56d20e1983b">SPI_IER_DXPIE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5fde811db0bae41847c2c56d20e1983b">SPI_IER_DXPIE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l02252" name="l02252"></a><span class="lineno"> 2252</span>}</div>
<div class="line"><a id="l02253" name="l02253"></a><span class="lineno"> 2253</span></div>
<div class="line"><a id="l02260" name="l02260"></a><span class="lineno"> 2260</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_EOT(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02261" name="l02261"></a><span class="lineno"> 2261</span>{</div>
<div class="line"><a id="l02262" name="l02262"></a><span class="lineno"> 2262</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gadd814e85e0f2cc9fd5fbedbd1db232c1">SPI_IER_EOTIE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gadd814e85e0f2cc9fd5fbedbd1db232c1">SPI_IER_EOTIE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l02263" name="l02263"></a><span class="lineno"> 2263</span>}</div>
<div class="line"><a id="l02264" name="l02264"></a><span class="lineno"> 2264</span></div>
<div class="line"><a id="l02271" name="l02271"></a><span class="lineno"> 2271</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_TXTF(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02272" name="l02272"></a><span class="lineno"> 2272</span>{</div>
<div class="line"><a id="l02273" name="l02273"></a><span class="lineno"> 2273</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf329c2e8fb5112c4efdcac4c69bf95fb">SPI_IER_TXTFIE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf329c2e8fb5112c4efdcac4c69bf95fb">SPI_IER_TXTFIE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l02274" name="l02274"></a><span class="lineno"> 2274</span>}</div>
<div class="line"><a id="l02275" name="l02275"></a><span class="lineno"> 2275</span></div>
<div class="line"><a id="l02282" name="l02282"></a><span class="lineno"> 2282</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_UDR(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02283" name="l02283"></a><span class="lineno"> 2283</span>{</div>
<div class="line"><a id="l02284" name="l02284"></a><span class="lineno"> 2284</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga33d0436c4b553cc357b52b9ecaaf542f">SPI_IER_UDRIE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga33d0436c4b553cc357b52b9ecaaf542f">SPI_IER_UDRIE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l02285" name="l02285"></a><span class="lineno"> 2285</span>}</div>
<div class="line"><a id="l02286" name="l02286"></a><span class="lineno"> 2286</span></div>
<div class="line"><a id="l02293" name="l02293"></a><span class="lineno"> 2293</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_OVR(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02294" name="l02294"></a><span class="lineno"> 2294</span>{</div>
<div class="line"><a id="l02295" name="l02295"></a><span class="lineno"> 2295</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga6ba53086c19a3260e0555ace5d700c42">SPI_IER_OVRIE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga6ba53086c19a3260e0555ace5d700c42">SPI_IER_OVRIE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l02296" name="l02296"></a><span class="lineno"> 2296</span>}</div>
<div class="line"><a id="l02297" name="l02297"></a><span class="lineno"> 2297</span></div>
<div class="line"><a id="l02304" name="l02304"></a><span class="lineno"> 2304</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_CRCERR(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02305" name="l02305"></a><span class="lineno"> 2305</span>{</div>
<div class="line"><a id="l02306" name="l02306"></a><span class="lineno"> 2306</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga298b617fdd0e3d18562509839aa72fa3">SPI_IER_CRCEIE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga298b617fdd0e3d18562509839aa72fa3">SPI_IER_CRCEIE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l02307" name="l02307"></a><span class="lineno"> 2307</span>}</div>
<div class="line"><a id="l02308" name="l02308"></a><span class="lineno"> 2308</span></div>
<div class="line"><a id="l02315" name="l02315"></a><span class="lineno"> 2315</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_FRE(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02316" name="l02316"></a><span class="lineno"> 2316</span>{</div>
<div class="line"><a id="l02317" name="l02317"></a><span class="lineno"> 2317</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga07f63f1611444f70daf6b08fc18490ee">SPI_IER_TIFREIE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga07f63f1611444f70daf6b08fc18490ee">SPI_IER_TIFREIE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l02318" name="l02318"></a><span class="lineno"> 2318</span>}</div>
<div class="line"><a id="l02319" name="l02319"></a><span class="lineno"> 2319</span></div>
<div class="line"><a id="l02326" name="l02326"></a><span class="lineno"> 2326</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_MODF(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02327" name="l02327"></a><span class="lineno"> 2327</span>{</div>
<div class="line"><a id="l02328" name="l02328"></a><span class="lineno"> 2328</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga6d05af6bd42d7191edec2763928dee98">SPI_IER_MODFIE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga6d05af6bd42d7191edec2763928dee98">SPI_IER_MODFIE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l02329" name="l02329"></a><span class="lineno"> 2329</span>}</div>
<div class="line"><a id="l02330" name="l02330"></a><span class="lineno"> 2330</span></div>
<div class="line"><a id="l02337" name="l02337"></a><span class="lineno"> 2337</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledIT_TSER(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02338" name="l02338"></a><span class="lineno"> 2338</span>{</div>
<div class="line"><a id="l02339" name="l02339"></a><span class="lineno"> 2339</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">IER</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1a4844bc9d90e49ba0dcacf7787f2e16">SPI_IER_TSERFIE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga1a4844bc9d90e49ba0dcacf7787f2e16">SPI_IER_TSERFIE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l02340" name="l02340"></a><span class="lineno"> 2340</span>}</div>
<div class="line"><a id="l02341" name="l02341"></a><span class="lineno"> 2341</span></div>
<div class="line"><a id="l02345" name="l02345"></a><span class="lineno"> 2345</span></div>
<div class="line"><a id="l02349" name="l02349"></a><span class="lineno"> 2349</span></div>
<div class="line"><a id="l02356" name="l02356"></a><span class="lineno"> 2356</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableDMAReq_RX(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02357" name="l02357"></a><span class="lineno"> 2357</span>{</div>
<div class="line"><a id="l02358" name="l02358"></a><span class="lineno"> 2358</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaa342a40ac86059d414932474d7ff6edd">SPI_CFG1_RXDMAEN</a>);</div>
<div class="line"><a id="l02359" name="l02359"></a><span class="lineno"> 2359</span>}</div>
<div class="line"><a id="l02360" name="l02360"></a><span class="lineno"> 2360</span></div>
<div class="line"><a id="l02367" name="l02367"></a><span class="lineno"> 2367</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableDMAReq_RX(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02368" name="l02368"></a><span class="lineno"> 2368</span>{</div>
<div class="line"><a id="l02369" name="l02369"></a><span class="lineno"> 2369</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaa342a40ac86059d414932474d7ff6edd">SPI_CFG1_RXDMAEN</a>);</div>
<div class="line"><a id="l02370" name="l02370"></a><span class="lineno"> 2370</span>}</div>
<div class="line"><a id="l02371" name="l02371"></a><span class="lineno"> 2371</span></div>
<div class="line"><a id="l02378" name="l02378"></a><span class="lineno"> 2378</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledDMAReq_RX(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02379" name="l02379"></a><span class="lineno"> 2379</span>{</div>
<div class="line"><a id="l02380" name="l02380"></a><span class="lineno"> 2380</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaa342a40ac86059d414932474d7ff6edd">SPI_CFG1_RXDMAEN</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaa342a40ac86059d414932474d7ff6edd">SPI_CFG1_RXDMAEN</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l02381" name="l02381"></a><span class="lineno"> 2381</span>}</div>
<div class="line"><a id="l02382" name="l02382"></a><span class="lineno"> 2382</span></div>
<div class="line"><a id="l02389" name="l02389"></a><span class="lineno"> 2389</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_EnableDMAReq_TX(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02390" name="l02390"></a><span class="lineno"> 2390</span>{</div>
<div class="line"><a id="l02391" name="l02391"></a><span class="lineno"> 2391</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac2a7b767079c91751283143a40aa0e19">SPI_CFG1_TXDMAEN</a>);</div>
<div class="line"><a id="l02392" name="l02392"></a><span class="lineno"> 2392</span>}</div>
<div class="line"><a id="l02393" name="l02393"></a><span class="lineno"> 2393</span></div>
<div class="line"><a id="l02400" name="l02400"></a><span class="lineno"> 2400</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_DisableDMAReq_TX(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02401" name="l02401"></a><span class="lineno"> 2401</span>{</div>
<div class="line"><a id="l02402" name="l02402"></a><span class="lineno"> 2402</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac2a7b767079c91751283143a40aa0e19">SPI_CFG1_TXDMAEN</a>);</div>
<div class="line"><a id="l02403" name="l02403"></a><span class="lineno"> 2403</span>}</div>
<div class="line"><a id="l02404" name="l02404"></a><span class="lineno"> 2404</span></div>
<div class="line"><a id="l02411" name="l02411"></a><span class="lineno"> 2411</span>__STATIC_INLINE uint32_t LL_SPI_IsEnabledDMAReq_TX(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02412" name="l02412"></a><span class="lineno"> 2412</span>{</div>
<div class="line"><a id="l02413" name="l02413"></a><span class="lineno"> 2413</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">CFG1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac2a7b767079c91751283143a40aa0e19">SPI_CFG1_TXDMAEN</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac2a7b767079c91751283143a40aa0e19">SPI_CFG1_TXDMAEN</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l02414" name="l02414"></a><span class="lineno"> 2414</span>}</div>
<div class="line"><a id="l02421" name="l02421"></a><span class="lineno"> 2421</span>__STATIC_INLINE uint32_t LL_SPI_DMA_GetTxRegAddr(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02422" name="l02422"></a><span class="lineno"> 2422</span>{</div>
<div class="line"><a id="l02423" name="l02423"></a><span class="lineno"> 2423</span>  <span class="keywordflow">return</span> (uint32_t) &amp;(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a519806144e513633e6a0093fd554756f">TXDR</a>);</div>
<div class="line"><a id="l02424" name="l02424"></a><span class="lineno"> 2424</span>}</div>
<div class="line"><a id="l02425" name="l02425"></a><span class="lineno"> 2425</span></div>
<div class="line"><a id="l02432" name="l02432"></a><span class="lineno"> 2432</span>__STATIC_INLINE uint32_t LL_SPI_DMA_GetRxRegAddr(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02433" name="l02433"></a><span class="lineno"> 2433</span>{</div>
<div class="line"><a id="l02434" name="l02434"></a><span class="lineno"> 2434</span>  <span class="keywordflow">return</span> (uint32_t) &amp;(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a0339afbc47839f09598f7fb09c242b09">RXDR</a>);</div>
<div class="line"><a id="l02435" name="l02435"></a><span class="lineno"> 2435</span>}</div>
<div class="line"><a id="l02439" name="l02439"></a><span class="lineno"> 2439</span></div>
<div class="line"><a id="l02443" name="l02443"></a><span class="lineno"> 2443</span></div>
<div class="line"><a id="l02450" name="l02450"></a><span class="lineno"> 2450</span>__STATIC_INLINE uint8_t LL_SPI_ReceiveData8(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx) <span class="comment">/* Derogation MISRAC2012-Rule-8.13 */</span></div>
<div class="line"><a id="l02451" name="l02451"></a><span class="lineno"> 2451</span>{</div>
<div class="line"><a id="l02452" name="l02452"></a><span class="lineno"> 2452</span>  <span class="keywordflow">return</span> (*((<a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint8_t *)&amp;SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a0339afbc47839f09598f7fb09c242b09">RXDR</a>));</div>
<div class="line"><a id="l02453" name="l02453"></a><span class="lineno"> 2453</span>}</div>
<div class="line"><a id="l02454" name="l02454"></a><span class="lineno"> 2454</span></div>
<div class="line"><a id="l02461" name="l02461"></a><span class="lineno"> 2461</span>__STATIC_INLINE uint16_t LL_SPI_ReceiveData16(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx) <span class="comment">/* Derogation MISRAC2012-Rule-8.13 */</span></div>
<div class="line"><a id="l02462" name="l02462"></a><span class="lineno"> 2462</span>{</div>
<div class="line"><a id="l02463" name="l02463"></a><span class="lineno"> 2463</span><span class="preprocessor">#if defined (__GNUC__)</span></div>
<div class="line"><a id="l02464" name="l02464"></a><span class="lineno"> 2464</span>  <a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint16_t *spirxdr = (<a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint16_t *)(&amp;(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a0339afbc47839f09598f7fb09c242b09">RXDR</a>));</div>
<div class="line"><a id="l02465" name="l02465"></a><span class="lineno"> 2465</span>  <span class="keywordflow">return</span> (*spirxdr);</div>
<div class="line"><a id="l02466" name="l02466"></a><span class="lineno"> 2466</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l02467" name="l02467"></a><span class="lineno"> 2467</span>  <span class="keywordflow">return</span> (*((<a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint16_t *)&amp;SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a0339afbc47839f09598f7fb09c242b09">RXDR</a>));</div>
<div class="line"><a id="l02468" name="l02468"></a><span class="lineno"> 2468</span><span class="preprocessor">#endif </span><span class="comment">/* __GNUC__ */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02469" name="l02469"></a><span class="lineno"> 2469</span>}</div>
<div class="line"><a id="l02470" name="l02470"></a><span class="lineno"> 2470</span></div>
<div class="line"><a id="l02477" name="l02477"></a><span class="lineno"> 2477</span>__STATIC_INLINE uint32_t LL_SPI_ReceiveData32(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx) <span class="comment">/* Derogation MISRAC2012-Rule-8.13 */</span></div>
<div class="line"><a id="l02478" name="l02478"></a><span class="lineno"> 2478</span>{</div>
<div class="line"><a id="l02479" name="l02479"></a><span class="lineno"> 2479</span>  <span class="keywordflow">return</span> (*((<a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint32_t *)&amp;SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a0339afbc47839f09598f7fb09c242b09">RXDR</a>));</div>
<div class="line"><a id="l02480" name="l02480"></a><span class="lineno"> 2480</span>}</div>
<div class="line"><a id="l02481" name="l02481"></a><span class="lineno"> 2481</span></div>
<div class="line"><a id="l02489" name="l02489"></a><span class="lineno"> 2489</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_TransmitData8(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint8_t TxData)</div>
<div class="line"><a id="l02490" name="l02490"></a><span class="lineno"> 2490</span>{</div>
<div class="line"><a id="l02491" name="l02491"></a><span class="lineno"> 2491</span>  *((<a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint8_t *)&amp;SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a519806144e513633e6a0093fd554756f">TXDR</a>) = TxData;</div>
<div class="line"><a id="l02492" name="l02492"></a><span class="lineno"> 2492</span>}</div>
<div class="line"><a id="l02493" name="l02493"></a><span class="lineno"> 2493</span></div>
<div class="line"><a id="l02501" name="l02501"></a><span class="lineno"> 2501</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_TransmitData16(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint16_t TxData)</div>
<div class="line"><a id="l02502" name="l02502"></a><span class="lineno"> 2502</span>{</div>
<div class="line"><a id="l02503" name="l02503"></a><span class="lineno"> 2503</span><span class="preprocessor">#if defined (__GNUC__)</span></div>
<div class="line"><a id="l02504" name="l02504"></a><span class="lineno"> 2504</span>  <a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint16_t *spitxdr = ((<a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint16_t *)&amp;SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a519806144e513633e6a0093fd554756f">TXDR</a>);</div>
<div class="line"><a id="l02505" name="l02505"></a><span class="lineno"> 2505</span>  *spitxdr = TxData;</div>
<div class="line"><a id="l02506" name="l02506"></a><span class="lineno"> 2506</span><span class="preprocessor">#else</span></div>
<div class="line"><a id="l02507" name="l02507"></a><span class="lineno"> 2507</span>  *((<a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint16_t *)&amp;SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a519806144e513633e6a0093fd554756f">TXDR</a>) = TxData;</div>
<div class="line"><a id="l02508" name="l02508"></a><span class="lineno"> 2508</span><span class="preprocessor">#endif </span><span class="comment">/* __GNUC__ */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02509" name="l02509"></a><span class="lineno"> 2509</span>}</div>
<div class="line"><a id="l02510" name="l02510"></a><span class="lineno"> 2510</span></div>
<div class="line"><a id="l02518" name="l02518"></a><span class="lineno"> 2518</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_TransmitData32(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t TxData)</div>
<div class="line"><a id="l02519" name="l02519"></a><span class="lineno"> 2519</span>{</div>
<div class="line"><a id="l02520" name="l02520"></a><span class="lineno"> 2520</span>  *((<a class="code hl_define" href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a> uint32_t *)&amp;SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a519806144e513633e6a0093fd554756f">TXDR</a>) = TxData;</div>
<div class="line"><a id="l02521" name="l02521"></a><span class="lineno"> 2521</span>}</div>
<div class="line"><a id="l02522" name="l02522"></a><span class="lineno"> 2522</span></div>
<div class="line"><a id="l02530" name="l02530"></a><span class="lineno"> 2530</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetCRCPolynomial(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t CRCPoly)</div>
<div class="line"><a id="l02531" name="l02531"></a><span class="lineno"> 2531</span>{</div>
<div class="line"><a id="l02532" name="l02532"></a><span class="lineno"> 2532</span>  WRITE_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a03d6f39b695fb8e316e97c8a089cd46b">CRCPOLY</a>, CRCPoly);</div>
<div class="line"><a id="l02533" name="l02533"></a><span class="lineno"> 2533</span>}</div>
<div class="line"><a id="l02534" name="l02534"></a><span class="lineno"> 2534</span></div>
<div class="line"><a id="l02541" name="l02541"></a><span class="lineno"> 2541</span>__STATIC_INLINE uint32_t LL_SPI_GetCRCPolynomial(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02542" name="l02542"></a><span class="lineno"> 2542</span>{</div>
<div class="line"><a id="l02543" name="l02543"></a><span class="lineno"> 2543</span>  <span class="keywordflow">return</span> (uint32_t)(READ_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a03d6f39b695fb8e316e97c8a089cd46b">CRCPOLY</a>));</div>
<div class="line"><a id="l02544" name="l02544"></a><span class="lineno"> 2544</span>}</div>
<div class="line"><a id="l02545" name="l02545"></a><span class="lineno"> 2545</span></div>
<div class="line"><a id="l02553" name="l02553"></a><span class="lineno"> 2553</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_SPI_SetUDRPattern(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t Pattern)</div>
<div class="line"><a id="l02554" name="l02554"></a><span class="lineno"> 2554</span>{</div>
<div class="line"><a id="l02555" name="l02555"></a><span class="lineno"> 2555</span>  WRITE_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a189a6e7526779ec981cd411bc4bd3a51">UDRDR</a>, Pattern);</div>
<div class="line"><a id="l02556" name="l02556"></a><span class="lineno"> 2556</span>}</div>
<div class="line"><a id="l02557" name="l02557"></a><span class="lineno"> 2557</span></div>
<div class="line"><a id="l02564" name="l02564"></a><span class="lineno"> 2564</span>__STATIC_INLINE uint32_t LL_SPI_GetUDRPattern(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02565" name="l02565"></a><span class="lineno"> 2565</span>{</div>
<div class="line"><a id="l02566" name="l02566"></a><span class="lineno"> 2566</span>  <span class="keywordflow">return</span> (uint32_t)(READ_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a189a6e7526779ec981cd411bc4bd3a51">UDRDR</a>));</div>
<div class="line"><a id="l02567" name="l02567"></a><span class="lineno"> 2567</span>}</div>
<div class="line"><a id="l02568" name="l02568"></a><span class="lineno"> 2568</span></div>
<div class="line"><a id="l02575" name="l02575"></a><span class="lineno"> 2575</span>__STATIC_INLINE uint32_t LL_SPI_GetRxCRC(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02576" name="l02576"></a><span class="lineno"> 2576</span>{</div>
<div class="line"><a id="l02577" name="l02577"></a><span class="lineno"> 2577</span>  <span class="keywordflow">return</span> (uint32_t)(READ_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#aa3d580e3aa375dd3e6c1a3331e819300">RXCRC</a>));</div>
<div class="line"><a id="l02578" name="l02578"></a><span class="lineno"> 2578</span>}</div>
<div class="line"><a id="l02579" name="l02579"></a><span class="lineno"> 2579</span></div>
<div class="line"><a id="l02586" name="l02586"></a><span class="lineno"> 2586</span>__STATIC_INLINE uint32_t LL_SPI_GetTxCRC(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02587" name="l02587"></a><span class="lineno"> 2587</span>{</div>
<div class="line"><a id="l02588" name="l02588"></a><span class="lineno"> 2588</span>  <span class="keywordflow">return</span> (uint32_t)(READ_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a9fffd568c7ff1da72b24c45c62566abd">TXCRC</a>));</div>
<div class="line"><a id="l02589" name="l02589"></a><span class="lineno"> 2589</span>}</div>
<div class="line"><a id="l02590" name="l02590"></a><span class="lineno"> 2590</span></div>
<div class="line"><a id="l02594" name="l02594"></a><span class="lineno"> 2594</span> </div>
<div class="line"><a id="l02595" name="l02595"></a><span class="lineno"> 2595</span><span class="preprocessor">#if defined(USE_FULL_LL_DRIVER)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02599" name="l02599"></a><span class="lineno"> 2599</span> </div>
<div class="line"><a id="l02600" name="l02600"></a><span class="lineno"> 2600</span>ErrorStatus LL_SPI_DeInit(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx);</div>
<div class="line"><a id="l02601" name="l02601"></a><span class="lineno"> 2601</span>ErrorStatus LL_SPI_Init(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, LL_SPI_InitTypeDef *SPI_InitStruct);</div>
<div class="line"><a id="l02602" name="l02602"></a><span class="lineno"> 2602</span><span class="keywordtype">void</span>        LL_SPI_StructInit(LL_SPI_InitTypeDef *SPI_InitStruct);</div>
<div class="line"><a id="l02603" name="l02603"></a><span class="lineno"> 2603</span></div>
<div class="line"><a id="l02607" name="l02607"></a><span class="lineno"> 2607</span><span class="preprocessor">#endif </span><span class="comment">/* USE_FULL_LL_DRIVER */</span><span class="preprocessor"></span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l02614" name="l02614"></a><span class="lineno"> 2614</span></div>
<div class="line"><a id="l02618" name="l02618"></a><span class="lineno"> 2618</span> </div>
<div class="line"><a id="l02619" name="l02619"></a><span class="lineno"> 2619</span><span class="comment">/* Private variables ---------------------------------------------------------*/</span></div>
<div class="line"><a id="l02620" name="l02620"></a><span class="lineno"> 2620</span><span class="comment">/* Private constants ---------------------------------------------------------*/</span></div>
<div class="line"><a id="l02621" name="l02621"></a><span class="lineno"> 2621</span><span class="comment">/* Private macros ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l02622" name="l02622"></a><span class="lineno"> 2622</span> </div>
<div class="line"><a id="l02623" name="l02623"></a><span class="lineno"> 2623</span><span class="comment">/* Exported types ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l02624" name="l02624"></a><span class="lineno"> 2624</span><span class="preprocessor">#if defined(USE_FULL_LL_DRIVER)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02628" name="l02628"></a><span class="lineno"> 2628</span></div>
<div class="line"><a id="l02632" name="l02632"></a><span class="lineno"> 2632</span> </div>
<div class="line"><a id="l02633" name="l02633"></a><span class="lineno"> 2633</span><span class="keyword">typedef</span> <span class="keyword">struct</span></div>
<div class="line"><a id="l02634" name="l02634"></a><span class="lineno"> 2634</span>{</div>
<div class="line"><a id="l02635" name="l02635"></a><span class="lineno"> 2635</span>  uint32_t Mode;                    </div>
<div class="line"><a id="l02640" name="l02640"></a><span class="lineno"> 2640</span> </div>
<div class="line"><a id="l02641" name="l02641"></a><span class="lineno"> 2641</span>  uint32_t Standard;                </div>
<div class="line"><a id="l02646" name="l02646"></a><span class="lineno"> 2646</span> </div>
<div class="line"><a id="l02647" name="l02647"></a><span class="lineno"> 2647</span> </div>
<div class="line"><a id="l02648" name="l02648"></a><span class="lineno"> 2648</span>  uint32_t DataFormat;              </div>
<div class="line"><a id="l02653" name="l02653"></a><span class="lineno"> 2653</span> </div>
<div class="line"><a id="l02654" name="l02654"></a><span class="lineno"> 2654</span> </div>
<div class="line"><a id="l02655" name="l02655"></a><span class="lineno"> 2655</span>  uint32_t MCLKOutput;              </div>
<div class="line"><a id="l02660" name="l02660"></a><span class="lineno"> 2660</span> </div>
<div class="line"><a id="l02661" name="l02661"></a><span class="lineno"> 2661</span> </div>
<div class="line"><a id="l02662" name="l02662"></a><span class="lineno"> 2662</span>  uint32_t AudioFreq;               </div>
<div class="line"><a id="l02669" name="l02669"></a><span class="lineno"> 2669</span> </div>
<div class="line"><a id="l02670" name="l02670"></a><span class="lineno"> 2670</span> </div>
<div class="line"><a id="l02671" name="l02671"></a><span class="lineno"> 2671</span>  uint32_t ClockPolarity;           </div>
<div class="line"><a id="l02676" name="l02676"></a><span class="lineno"> 2676</span> </div>
<div class="line"><a id="l02677" name="l02677"></a><span class="lineno"> 2677</span>} LL_I2S_InitTypeDef;</div>
<div class="line"><a id="l02678" name="l02678"></a><span class="lineno"> 2678</span></div>
<div class="line"><a id="l02682" name="l02682"></a><span class="lineno"> 2682</span><span class="preprocessor">#endif </span><span class="comment">/*USE_FULL_LL_DRIVER*/</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02683" name="l02683"></a><span class="lineno"> 2683</span> </div>
<div class="line"><a id="l02684" name="l02684"></a><span class="lineno"> 2684</span><span class="comment">/* Exported constants --------------------------------------------------------*/</span></div>
<div class="line"><a id="l02688" name="l02688"></a><span class="lineno"> 2688</span></div>
<div class="line"><a id="l02692" name="l02692"></a><span class="lineno"> 2692</span><span class="preprocessor">#define LL_I2S_DATAFORMAT_16B               (0x00000000UL)</span></div>
<div class="line"><a id="l02693" name="l02693"></a><span class="lineno"> 2693</span><span class="preprocessor">#define LL_I2S_DATAFORMAT_16B_EXTENDED      (SPI_I2SCFGR_CHLEN)</span></div>
<div class="line"><a id="l02694" name="l02694"></a><span class="lineno"> 2694</span><span class="preprocessor">#define LL_I2S_DATAFORMAT_24B               (SPI_I2SCFGR_CHLEN | SPI_I2SCFGR_DATLEN_0)</span></div>
<div class="line"><a id="l02695" name="l02695"></a><span class="lineno"> 2695</span><span class="preprocessor">#define LL_I2S_DATAFORMAT_24B_LEFT_ALIGNED  (SPI_I2SCFGR_CHLEN | SPI_I2SCFGR_DATLEN_0 | SPI_I2SCFGR_DATFMT)</span></div>
<div class="line"><a id="l02696" name="l02696"></a><span class="lineno"> 2696</span><span class="preprocessor">#define LL_I2S_DATAFORMAT_32B               (SPI_I2SCFGR_CHLEN | SPI_I2SCFGR_DATLEN_1)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02700" name="l02700"></a><span class="lineno"> 2700</span></div>
<div class="line"><a id="l02704" name="l02704"></a><span class="lineno"> 2704</span><span class="preprocessor">#define LL_I2S_SLAVE_VARIABLE_CH_LENGTH     (0x00000000UL)</span></div>
<div class="line"><a id="l02705" name="l02705"></a><span class="lineno"> 2705</span><span class="preprocessor">#define LL_I2S_SLAVE_FIXED_CH_LENGTH        (SPI_I2SCFGR_FIXCH)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02709" name="l02709"></a><span class="lineno"> 2709</span></div>
<div class="line"><a id="l02713" name="l02713"></a><span class="lineno"> 2713</span><span class="preprocessor">#define LL_I2S_POLARITY_LOW                 (0x00000000UL)</span></div>
<div class="line"><a id="l02714" name="l02714"></a><span class="lineno"> 2714</span><span class="preprocessor">#define LL_I2S_POLARITY_HIGH                (SPI_I2SCFGR_CKPOL)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02718" name="l02718"></a><span class="lineno"> 2718</span></div>
<div class="line"><a id="l02722" name="l02722"></a><span class="lineno"> 2722</span><span class="preprocessor">#define LL_I2S_STANDARD_PHILIPS             (0x00000000UL)</span></div>
<div class="line"><a id="l02723" name="l02723"></a><span class="lineno"> 2723</span><span class="preprocessor">#define LL_I2S_STANDARD_MSB                 (SPI_I2SCFGR_I2SSTD_0)</span></div>
<div class="line"><a id="l02724" name="l02724"></a><span class="lineno"> 2724</span><span class="preprocessor">#define LL_I2S_STANDARD_LSB                 (SPI_I2SCFGR_I2SSTD_1)</span></div>
<div class="line"><a id="l02725" name="l02725"></a><span class="lineno"> 2725</span><span class="preprocessor">#define LL_I2S_STANDARD_PCM_SHORT           (SPI_I2SCFGR_I2SSTD_0 | SPI_I2SCFGR_I2SSTD_1)</span></div>
<div class="line"><a id="l02726" name="l02726"></a><span class="lineno"> 2726</span><span class="preprocessor">#define LL_I2S_STANDARD_PCM_LONG            (SPI_I2SCFGR_I2SSTD_0 | SPI_I2SCFGR_I2SSTD_1 | SPI_I2SCFGR_PCMSYNC)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02730" name="l02730"></a><span class="lineno"> 2730</span></div>
<div class="line"><a id="l02734" name="l02734"></a><span class="lineno"> 2734</span><span class="preprocessor">#define LL_I2S_MODE_SLAVE_TX                (0x00000000UL)</span></div>
<div class="line"><a id="l02735" name="l02735"></a><span class="lineno"> 2735</span><span class="preprocessor">#define LL_I2S_MODE_SLAVE_RX                (SPI_I2SCFGR_I2SCFG_0)</span></div>
<div class="line"><a id="l02736" name="l02736"></a><span class="lineno"> 2736</span><span class="preprocessor">#define LL_I2S_MODE_SLAVE_FULL_DUPLEX       (SPI_I2SCFGR_I2SCFG_2)</span></div>
<div class="line"><a id="l02737" name="l02737"></a><span class="lineno"> 2737</span><span class="preprocessor">#define LL_I2S_MODE_MASTER_TX               (SPI_I2SCFGR_I2SCFG_1)</span></div>
<div class="line"><a id="l02738" name="l02738"></a><span class="lineno"> 2738</span><span class="preprocessor">#define LL_I2S_MODE_MASTER_RX               (SPI_I2SCFGR_I2SCFG_1 | SPI_I2SCFGR_I2SCFG_0)</span></div>
<div class="line"><a id="l02739" name="l02739"></a><span class="lineno"> 2739</span><span class="preprocessor">#define LL_I2S_MODE_MASTER_FULL_DUPLEX      (SPI_I2SCFGR_I2SCFG_2 | SPI_I2SCFGR_I2SCFG_0)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02743" name="l02743"></a><span class="lineno"> 2743</span></div>
<div class="line"><a id="l02747" name="l02747"></a><span class="lineno"> 2747</span><span class="preprocessor">#define LL_I2S_PRESCALER_PARITY_EVEN        (0x00000000UL)   </span><span class="preprocessor"></span></div>
<div class="line"><a id="l02748" name="l02748"></a><span class="lineno"> 2748</span><span class="preprocessor">#define LL_I2S_PRESCALER_PARITY_ODD         (0x00000001UL)   </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l02752" name="l02752"></a><span class="lineno"> 2752</span></div>
<div class="line"><a id="l02756" name="l02756"></a><span class="lineno"> 2756</span><span class="preprocessor">#define LL_I2S_FIFO_TH_01DATA               (LL_SPI_FIFO_TH_01DATA)</span></div>
<div class="line"><a id="l02757" name="l02757"></a><span class="lineno"> 2757</span><span class="preprocessor">#define LL_I2S_FIFO_TH_02DATA               (LL_SPI_FIFO_TH_02DATA)</span></div>
<div class="line"><a id="l02758" name="l02758"></a><span class="lineno"> 2758</span><span class="preprocessor">#define LL_I2S_FIFO_TH_03DATA               (LL_SPI_FIFO_TH_03DATA)</span></div>
<div class="line"><a id="l02759" name="l02759"></a><span class="lineno"> 2759</span><span class="preprocessor">#define LL_I2S_FIFO_TH_04DATA               (LL_SPI_FIFO_TH_04DATA)</span></div>
<div class="line"><a id="l02760" name="l02760"></a><span class="lineno"> 2760</span><span class="preprocessor">#define LL_I2S_FIFO_TH_05DATA               (LL_SPI_FIFO_TH_05DATA)</span></div>
<div class="line"><a id="l02761" name="l02761"></a><span class="lineno"> 2761</span><span class="preprocessor">#define LL_I2S_FIFO_TH_06DATA               (LL_SPI_FIFO_TH_06DATA)</span></div>
<div class="line"><a id="l02762" name="l02762"></a><span class="lineno"> 2762</span><span class="preprocessor">#define LL_I2S_FIFO_TH_07DATA               (LL_SPI_FIFO_TH_07DATA)</span></div>
<div class="line"><a id="l02763" name="l02763"></a><span class="lineno"> 2763</span><span class="preprocessor">#define LL_I2S_FIFO_TH_08DATA               (LL_SPI_FIFO_TH_08DATA)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02767" name="l02767"></a><span class="lineno"> 2767</span></div>
<div class="line"><a id="l02771" name="l02771"></a><span class="lineno"> 2771</span><span class="preprocessor">#define LL_I2S_LSB_FIRST                    (LL_SPI_LSB_FIRST)</span></div>
<div class="line"><a id="l02772" name="l02772"></a><span class="lineno"> 2772</span><span class="preprocessor">#define LL_I2S_MSB_FIRST                    (LL_SPI_MSB_FIRST)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02776" name="l02776"></a><span class="lineno"> 2776</span> </div>
<div class="line"><a id="l02777" name="l02777"></a><span class="lineno"> 2777</span><span class="preprocessor">#if defined(USE_FULL_LL_DRIVER)</span></div>
<div class="line"><a id="l02778" name="l02778"></a><span class="lineno"> 2778</span></div>
<div class="line"><a id="l02782" name="l02782"></a><span class="lineno"> 2782</span><span class="preprocessor">#define LL_I2S_MCLK_OUTPUT_DISABLE          (0x00000000UL)</span></div>
<div class="line"><a id="l02783" name="l02783"></a><span class="lineno"> 2783</span><span class="preprocessor">#define LL_I2S_MCLK_OUTPUT_ENABLE           (SPI_I2SCFGR_MCKOE)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02787" name="l02787"></a><span class="lineno"> 2787</span></div>
<div class="line"><a id="l02791" name="l02791"></a><span class="lineno"> 2791</span> </div>
<div class="line"><a id="l02792" name="l02792"></a><span class="lineno"> 2792</span><span class="preprocessor">#define LL_I2S_AUDIOFREQ_192K               192000UL       </span><span class="preprocessor"></span></div>
<div class="line"><a id="l02793" name="l02793"></a><span class="lineno"> 2793</span><span class="preprocessor">#define LL_I2S_AUDIOFREQ_96K                96000UL        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l02794" name="l02794"></a><span class="lineno"> 2794</span><span class="preprocessor">#define LL_I2S_AUDIOFREQ_48K                48000UL        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l02795" name="l02795"></a><span class="lineno"> 2795</span><span class="preprocessor">#define LL_I2S_AUDIOFREQ_44K                44100UL        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l02796" name="l02796"></a><span class="lineno"> 2796</span><span class="preprocessor">#define LL_I2S_AUDIOFREQ_32K                32000UL        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l02797" name="l02797"></a><span class="lineno"> 2797</span><span class="preprocessor">#define LL_I2S_AUDIOFREQ_22K                22050UL        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l02798" name="l02798"></a><span class="lineno"> 2798</span><span class="preprocessor">#define LL_I2S_AUDIOFREQ_16K                16000UL        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l02799" name="l02799"></a><span class="lineno"> 2799</span><span class="preprocessor">#define LL_I2S_AUDIOFREQ_11K                11025UL        </span><span class="preprocessor"></span></div>
<div class="line"><a id="l02800" name="l02800"></a><span class="lineno"> 2800</span><span class="preprocessor">#define LL_I2S_AUDIOFREQ_8K                 8000UL         </span><span class="preprocessor"></span></div>
<div class="line"><a id="l02801" name="l02801"></a><span class="lineno"> 2801</span><span class="preprocessor">#define LL_I2S_AUDIOFREQ_DEFAULT            0UL            </span><span class="preprocessor"></span><span class="preprocessor"></span></div>
<div class="line"><a id="l02805" name="l02805"></a><span class="lineno"> 2805</span><span class="preprocessor">#endif </span><span class="comment">/* USE_FULL_LL_DRIVER */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02806" name="l02806"></a><span class="lineno"> 2806</span></div>
<div class="line"><a id="l02810" name="l02810"></a><span class="lineno"> 2810</span> </div>
<div class="line"><a id="l02811" name="l02811"></a><span class="lineno"> 2811</span><span class="comment">/* Exported macro ------------------------------------------------------------*/</span></div>
<div class="line"><a id="l02815" name="l02815"></a><span class="lineno"> 2815</span></div>
<div class="line"><a id="l02819" name="l02819"></a><span class="lineno"> 2819</span></div>
<div class="line"><a id="l02827" name="l02827"></a><span class="lineno"> 2827</span><span class="preprocessor">#define LL_I2S_WriteReg(__INSTANCE__, __REG__, __VALUE__) WRITE_REG(__INSTANCE__-&gt;__REG__, (__VALUE__))</span></div>
<div class="line"><a id="l02828" name="l02828"></a><span class="lineno"> 2828</span></div>
<div class="line"><a id="l02835" name="l02835"></a><span class="lineno"> 2835</span><span class="preprocessor">#define LL_I2S_ReadReg(__INSTANCE__, __REG__) READ_REG(__INSTANCE__-&gt;__REG__)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l02839" name="l02839"></a><span class="lineno"> 2839</span></div>
<div class="line"><a id="l02843" name="l02843"></a><span class="lineno"> 2843</span> </div>
<div class="line"><a id="l02844" name="l02844"></a><span class="lineno"> 2844</span> </div>
<div class="line"><a id="l02845" name="l02845"></a><span class="lineno"> 2845</span><span class="comment">/* Exported functions --------------------------------------------------------*/</span></div>
<div class="line"><a id="l02846" name="l02846"></a><span class="lineno"> 2846</span></div>
<div class="line"><a id="l02850" name="l02850"></a><span class="lineno"> 2850</span></div>
<div class="line"><a id="l02854" name="l02854"></a><span class="lineno"> 2854</span></div>
<div class="line"><a id="l02869" name="l02869"></a><span class="lineno"> 2869</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_SetDataFormat(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t DataLength)</div>
<div class="line"><a id="l02870" name="l02870"></a><span class="lineno"> 2870</span>{</div>
<div class="line"><a id="l02871" name="l02871"></a><span class="lineno"> 2871</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gacc12f9d2003ab169a3f68e9d809f84ae">SPI_I2SCFGR_DATLEN</a> | <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga9c362b3d703698a7891f032f6b29056f">SPI_I2SCFGR_CHLEN</a> | <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga22143cbd7b9985dd4a7cf11e7c018d07">SPI_I2SCFGR_DATFMT</a>, DataLength);</div>
<div class="line"><a id="l02872" name="l02872"></a><span class="lineno"> 2872</span>}</div>
<div class="line"><a id="l02873" name="l02873"></a><span class="lineno"> 2873</span></div>
<div class="line"><a id="l02887" name="l02887"></a><span class="lineno"> 2887</span>__STATIC_INLINE uint32_t LL_I2S_GetDataFormat(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02888" name="l02888"></a><span class="lineno"> 2888</span>{</div>
<div class="line"><a id="l02889" name="l02889"></a><span class="lineno"> 2889</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gacc12f9d2003ab169a3f68e9d809f84ae">SPI_I2SCFGR_DATLEN</a> | <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga9c362b3d703698a7891f032f6b29056f">SPI_I2SCFGR_CHLEN</a> | <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga22143cbd7b9985dd4a7cf11e7c018d07">SPI_I2SCFGR_DATFMT</a>));</div>
<div class="line"><a id="l02890" name="l02890"></a><span class="lineno"> 2890</span>}</div>
<div class="line"><a id="l02891" name="l02891"></a><span class="lineno"> 2891</span></div>
<div class="line"><a id="l02902" name="l02902"></a><span class="lineno"> 2902</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_SetChannelLengthType(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t ChannelLengthType)</div>
<div class="line"><a id="l02903" name="l02903"></a><span class="lineno"> 2903</span>{</div>
<div class="line"><a id="l02904" name="l02904"></a><span class="lineno"> 2904</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf6d82e28cd842db16ceb0a36faafbd73">SPI_I2SCFGR_FIXCH</a>, ChannelLengthType);</div>
<div class="line"><a id="l02905" name="l02905"></a><span class="lineno"> 2905</span>}</div>
<div class="line"><a id="l02906" name="l02906"></a><span class="lineno"> 2906</span></div>
<div class="line"><a id="l02916" name="l02916"></a><span class="lineno"> 2916</span>__STATIC_INLINE uint32_t LL_I2S_GetChannelLengthType(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02917" name="l02917"></a><span class="lineno"> 2917</span>{</div>
<div class="line"><a id="l02918" name="l02918"></a><span class="lineno"> 2918</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf6d82e28cd842db16ceb0a36faafbd73">SPI_I2SCFGR_FIXCH</a>));</div>
<div class="line"><a id="l02919" name="l02919"></a><span class="lineno"> 2919</span>}</div>
<div class="line"><a id="l02920" name="l02920"></a><span class="lineno"> 2920</span></div>
<div class="line"><a id="l02927" name="l02927"></a><span class="lineno"> 2927</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_EnableWordSelectInversion(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02928" name="l02928"></a><span class="lineno"> 2928</span>{</div>
<div class="line"><a id="l02929" name="l02929"></a><span class="lineno"> 2929</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac0abe5455caf68d999ee49491f5d196a">SPI_I2SCFGR_WSINV</a>);</div>
<div class="line"><a id="l02930" name="l02930"></a><span class="lineno"> 2930</span>}</div>
<div class="line"><a id="l02931" name="l02931"></a><span class="lineno"> 2931</span></div>
<div class="line"><a id="l02938" name="l02938"></a><span class="lineno"> 2938</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_DisableWordSelectInversion(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02939" name="l02939"></a><span class="lineno"> 2939</span>{</div>
<div class="line"><a id="l02940" name="l02940"></a><span class="lineno"> 2940</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac0abe5455caf68d999ee49491f5d196a">SPI_I2SCFGR_WSINV</a>);</div>
<div class="line"><a id="l02941" name="l02941"></a><span class="lineno"> 2941</span>}</div>
<div class="line"><a id="l02942" name="l02942"></a><span class="lineno"> 2942</span></div>
<div class="line"><a id="l02949" name="l02949"></a><span class="lineno"> 2949</span>__STATIC_INLINE uint32_t LL_I2S_IsEnabledWordSelectInversion(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02950" name="l02950"></a><span class="lineno"> 2950</span>{</div>
<div class="line"><a id="l02951" name="l02951"></a><span class="lineno"> 2951</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac0abe5455caf68d999ee49491f5d196a">SPI_I2SCFGR_WSINV</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac0abe5455caf68d999ee49491f5d196a">SPI_I2SCFGR_WSINV</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l02952" name="l02952"></a><span class="lineno"> 2952</span>}</div>
<div class="line"><a id="l02953" name="l02953"></a><span class="lineno"> 2953</span></div>
<div class="line"><a id="l02963" name="l02963"></a><span class="lineno"> 2963</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_SetClockPolarity(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t ClockPolarity)</div>
<div class="line"><a id="l02964" name="l02964"></a><span class="lineno"> 2964</span>{</div>
<div class="line"><a id="l02965" name="l02965"></a><span class="lineno"> 2965</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5c5be1f1c8b4689643e04cd5034e7f5f">SPI_I2SCFGR_CKPOL</a>, ClockPolarity);</div>
<div class="line"><a id="l02966" name="l02966"></a><span class="lineno"> 2966</span>}</div>
<div class="line"><a id="l02967" name="l02967"></a><span class="lineno"> 2967</span></div>
<div class="line"><a id="l02976" name="l02976"></a><span class="lineno"> 2976</span>__STATIC_INLINE uint32_t LL_I2S_GetClockPolarity(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l02977" name="l02977"></a><span class="lineno"> 2977</span>{</div>
<div class="line"><a id="l02978" name="l02978"></a><span class="lineno"> 2978</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga5c5be1f1c8b4689643e04cd5034e7f5f">SPI_I2SCFGR_CKPOL</a>));</div>
<div class="line"><a id="l02979" name="l02979"></a><span class="lineno"> 2979</span>}</div>
<div class="line"><a id="l02980" name="l02980"></a><span class="lineno"> 2980</span></div>
<div class="line"><a id="l02994" name="l02994"></a><span class="lineno"> 2994</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_SetStandard(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t Standard)</div>
<div class="line"><a id="l02995" name="l02995"></a><span class="lineno"> 2995</span>{</div>
<div class="line"><a id="l02996" name="l02996"></a><span class="lineno"> 2996</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga7a822a80be3a51524b42491248f8031f">SPI_I2SCFGR_I2SSTD</a> | <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga66a29efc32a31f903e89b7ddcd20857b">SPI_I2SCFGR_PCMSYNC</a>, Standard);</div>
<div class="line"><a id="l02997" name="l02997"></a><span class="lineno"> 2997</span>}</div>
<div class="line"><a id="l02998" name="l02998"></a><span class="lineno"> 2998</span></div>
<div class="line"><a id="l03011" name="l03011"></a><span class="lineno"> 3011</span>__STATIC_INLINE uint32_t LL_I2S_GetStandard(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03012" name="l03012"></a><span class="lineno"> 3012</span>{</div>
<div class="line"><a id="l03013" name="l03013"></a><span class="lineno"> 3013</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga7a822a80be3a51524b42491248f8031f">SPI_I2SCFGR_I2SSTD</a> | <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga66a29efc32a31f903e89b7ddcd20857b">SPI_I2SCFGR_PCMSYNC</a>));</div>
<div class="line"><a id="l03014" name="l03014"></a><span class="lineno"> 3014</span>}</div>
<div class="line"><a id="l03015" name="l03015"></a><span class="lineno"> 3015</span></div>
<div class="line"><a id="l03029" name="l03029"></a><span class="lineno"> 3029</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_SetTransferMode(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t Standard)</div>
<div class="line"><a id="l03030" name="l03030"></a><span class="lineno"> 3030</span>{</div>
<div class="line"><a id="l03031" name="l03031"></a><span class="lineno"> 3031</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf09fd11f6f97000266b30b015bf2cb68">SPI_I2SCFGR_I2SCFG</a>, Standard);</div>
<div class="line"><a id="l03032" name="l03032"></a><span class="lineno"> 3032</span>}</div>
<div class="line"><a id="l03033" name="l03033"></a><span class="lineno"> 3033</span></div>
<div class="line"><a id="l03046" name="l03046"></a><span class="lineno"> 3046</span>__STATIC_INLINE uint32_t LL_I2S_GetTransferMode(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03047" name="l03047"></a><span class="lineno"> 3047</span>{</div>
<div class="line"><a id="l03048" name="l03048"></a><span class="lineno"> 3048</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gaf09fd11f6f97000266b30b015bf2cb68">SPI_I2SCFGR_I2SCFG</a>));</div>
<div class="line"><a id="l03049" name="l03049"></a><span class="lineno"> 3049</span>}</div>
<div class="line"><a id="l03050" name="l03050"></a><span class="lineno"> 3050</span></div>
<div class="line"><a id="l03058" name="l03058"></a><span class="lineno"> 3058</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_Enable(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03059" name="l03059"></a><span class="lineno"> 3059</span>{</div>
<div class="line"><a id="l03060" name="l03060"></a><span class="lineno"> 3060</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gae99763414b3c2f11fcfecb1f93eb6701">SPI_I2SCFGR_I2SMOD</a>);</div>
<div class="line"><a id="l03061" name="l03061"></a><span class="lineno"> 3061</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac5a646d978d3b98eb7c6a5d95d75c3f9">SPI_CR1_SPE</a>);</div>
<div class="line"><a id="l03062" name="l03062"></a><span class="lineno"> 3062</span>}</div>
<div class="line"><a id="l03063" name="l03063"></a><span class="lineno"> 3063</span></div>
<div class="line"><a id="l03071" name="l03071"></a><span class="lineno"> 3071</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_Disable(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03072" name="l03072"></a><span class="lineno"> 3072</span>{</div>
<div class="line"><a id="l03073" name="l03073"></a><span class="lineno"> 3073</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">CR1</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gac5a646d978d3b98eb7c6a5d95d75c3f9">SPI_CR1_SPE</a>);</div>
<div class="line"><a id="l03074" name="l03074"></a><span class="lineno"> 3074</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gae99763414b3c2f11fcfecb1f93eb6701">SPI_I2SCFGR_I2SMOD</a>);</div>
<div class="line"><a id="l03075" name="l03075"></a><span class="lineno"> 3075</span>}</div>
<div class="line"><a id="l03076" name="l03076"></a><span class="lineno"> 3076</span></div>
<div class="line"><a id="l03084" name="l03084"></a><span class="lineno"> 3084</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_EnableIOSwap(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03085" name="l03085"></a><span class="lineno"> 3085</span>{</div>
<div class="line"><a id="l03086" name="l03086"></a><span class="lineno"> 3086</span>  LL_SPI_EnableIOSwap(SPIx);</div>
<div class="line"><a id="l03087" name="l03087"></a><span class="lineno"> 3087</span>}</div>
<div class="line"><a id="l03088" name="l03088"></a><span class="lineno"> 3088</span></div>
<div class="line"><a id="l03096" name="l03096"></a><span class="lineno"> 3096</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_DisableIOSwap(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03097" name="l03097"></a><span class="lineno"> 3097</span>{</div>
<div class="line"><a id="l03098" name="l03098"></a><span class="lineno"> 3098</span>  LL_SPI_DisableIOSwap(SPIx);</div>
<div class="line"><a id="l03099" name="l03099"></a><span class="lineno"> 3099</span>}</div>
<div class="line"><a id="l03100" name="l03100"></a><span class="lineno"> 3100</span></div>
<div class="line"><a id="l03107" name="l03107"></a><span class="lineno"> 3107</span>__STATIC_INLINE uint32_t LL_I2S_IsEnabledIOSwap(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03108" name="l03108"></a><span class="lineno"> 3108</span>{</div>
<div class="line"><a id="l03109" name="l03109"></a><span class="lineno"> 3109</span>  <span class="keywordflow">return</span> LL_SPI_IsEnabledIOSwap(SPIx);</div>
<div class="line"><a id="l03110" name="l03110"></a><span class="lineno"> 3110</span>}</div>
<div class="line"><a id="l03111" name="l03111"></a><span class="lineno"> 3111</span></div>
<div class="line"><a id="l03119" name="l03119"></a><span class="lineno"> 3119</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_EnableGPIOControl(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03120" name="l03120"></a><span class="lineno"> 3120</span>{</div>
<div class="line"><a id="l03121" name="l03121"></a><span class="lineno"> 3121</span>  LL_SPI_EnableGPIOControl(SPIx);</div>
<div class="line"><a id="l03122" name="l03122"></a><span class="lineno"> 3122</span>}</div>
<div class="line"><a id="l03123" name="l03123"></a><span class="lineno"> 3123</span></div>
<div class="line"><a id="l03131" name="l03131"></a><span class="lineno"> 3131</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_DisableGPIOControl(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03132" name="l03132"></a><span class="lineno"> 3132</span>{</div>
<div class="line"><a id="l03133" name="l03133"></a><span class="lineno"> 3133</span>  LL_SPI_DisableGPIOControl(SPIx);</div>
<div class="line"><a id="l03134" name="l03134"></a><span class="lineno"> 3134</span>}</div>
<div class="line"><a id="l03135" name="l03135"></a><span class="lineno"> 3135</span></div>
<div class="line"><a id="l03142" name="l03142"></a><span class="lineno"> 3142</span>__STATIC_INLINE uint32_t LL_I2S_IsEnabledGPIOControl(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03143" name="l03143"></a><span class="lineno"> 3143</span>{</div>
<div class="line"><a id="l03144" name="l03144"></a><span class="lineno"> 3144</span>  <span class="keywordflow">return</span> LL_SPI_IsEnabledGPIOControl(SPIx);</div>
<div class="line"><a id="l03145" name="l03145"></a><span class="lineno"> 3145</span>}</div>
<div class="line"><a id="l03146" name="l03146"></a><span class="lineno"> 3146</span></div>
<div class="line"><a id="l03155" name="l03155"></a><span class="lineno"> 3155</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_EnableIOLock(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03156" name="l03156"></a><span class="lineno"> 3156</span>{</div>
<div class="line"><a id="l03157" name="l03157"></a><span class="lineno"> 3157</span>  LL_SPI_EnableIOLock(SPIx);</div>
<div class="line"><a id="l03158" name="l03158"></a><span class="lineno"> 3158</span>}</div>
<div class="line"><a id="l03159" name="l03159"></a><span class="lineno"> 3159</span></div>
<div class="line"><a id="l03166" name="l03166"></a><span class="lineno"> 3166</span>__STATIC_INLINE uint32_t LL_I2S_IsEnabledIOLock(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03167" name="l03167"></a><span class="lineno"> 3167</span>{</div>
<div class="line"><a id="l03168" name="l03168"></a><span class="lineno"> 3168</span>  <span class="keywordflow">return</span> LL_SPI_IsEnabledIOLock(SPIx);</div>
<div class="line"><a id="l03169" name="l03169"></a><span class="lineno"> 3169</span>}</div>
<div class="line"><a id="l03170" name="l03170"></a><span class="lineno"> 3170</span></div>
<div class="line"><a id="l03181" name="l03181"></a><span class="lineno"> 3181</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_SetTransferBitOrder(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t BitOrder)</div>
<div class="line"><a id="l03182" name="l03182"></a><span class="lineno"> 3182</span>{</div>
<div class="line"><a id="l03183" name="l03183"></a><span class="lineno"> 3183</span>  LL_SPI_SetTransferBitOrder(SPIx, BitOrder);</div>
<div class="line"><a id="l03184" name="l03184"></a><span class="lineno"> 3184</span>}</div>
<div class="line"><a id="l03193" name="l03193"></a><span class="lineno"> 3193</span>__STATIC_INLINE uint32_t LL_I2S_GetTransferBitOrder(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03194" name="l03194"></a><span class="lineno"> 3194</span>{</div>
<div class="line"><a id="l03195" name="l03195"></a><span class="lineno"> 3195</span>  <span class="keywordflow">return</span> LL_SPI_GetTransferBitOrder(SPIx);</div>
<div class="line"><a id="l03196" name="l03196"></a><span class="lineno"> 3196</span>}</div>
<div class="line"><a id="l03197" name="l03197"></a><span class="lineno"> 3197</span></div>
<div class="line"><a id="l03204" name="l03204"></a><span class="lineno"> 3204</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_StartTransfer(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03205" name="l03205"></a><span class="lineno"> 3205</span>{</div>
<div class="line"><a id="l03206" name="l03206"></a><span class="lineno"> 3206</span>  LL_SPI_StartMasterTransfer(SPIx);</div>
<div class="line"><a id="l03207" name="l03207"></a><span class="lineno"> 3207</span>}</div>
<div class="line"><a id="l03208" name="l03208"></a><span class="lineno"> 3208</span></div>
<div class="line"><a id="l03215" name="l03215"></a><span class="lineno"> 3215</span>__STATIC_INLINE uint32_t LL_I2S_IsActiveTransfer(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03216" name="l03216"></a><span class="lineno"> 3216</span>{</div>
<div class="line"><a id="l03217" name="l03217"></a><span class="lineno"> 3217</span>  <span class="keywordflow">return</span> LL_SPI_IsActiveMasterTransfer(SPIx);</div>
<div class="line"><a id="l03218" name="l03218"></a><span class="lineno"> 3218</span>}</div>
<div class="line"><a id="l03219" name="l03219"></a><span class="lineno"> 3219</span></div>
<div class="line"><a id="l03236" name="l03236"></a><span class="lineno"> 3236</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_SetFIFOThreshold(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t Threshold)</div>
<div class="line"><a id="l03237" name="l03237"></a><span class="lineno"> 3237</span>{</div>
<div class="line"><a id="l03238" name="l03238"></a><span class="lineno"> 3238</span>  LL_SPI_SetFIFOThreshold(SPIx, Threshold);</div>
<div class="line"><a id="l03239" name="l03239"></a><span class="lineno"> 3239</span>}</div>
<div class="line"><a id="l03240" name="l03240"></a><span class="lineno"> 3240</span></div>
<div class="line"><a id="l03255" name="l03255"></a><span class="lineno"> 3255</span>__STATIC_INLINE uint32_t LL_I2S_GetFIFOThreshold(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03256" name="l03256"></a><span class="lineno"> 3256</span>{</div>
<div class="line"><a id="l03257" name="l03257"></a><span class="lineno"> 3257</span>  <span class="keywordflow">return</span> LL_SPI_GetFIFOThreshold(SPIx);</div>
<div class="line"><a id="l03258" name="l03258"></a><span class="lineno"> 3258</span>}</div>
<div class="line"><a id="l03259" name="l03259"></a><span class="lineno"> 3259</span></div>
<div class="line"><a id="l03268" name="l03268"></a><span class="lineno"> 3268</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_SetPrescalerLinear(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t PrescalerLinear)</div>
<div class="line"><a id="l03269" name="l03269"></a><span class="lineno"> 3269</span>{</div>
<div class="line"><a id="l03270" name="l03270"></a><span class="lineno"> 3270</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga2b1a83146bd901493a172ba549345da2">SPI_I2SCFGR_I2SDIV</a>, (PrescalerLinear &lt;&lt; SPI_I2SCFGR_I2SDIV_Pos));</div>
<div class="line"><a id="l03271" name="l03271"></a><span class="lineno"> 3271</span>}</div>
<div class="line"><a id="l03272" name="l03272"></a><span class="lineno"> 3272</span></div>
<div class="line"><a id="l03279" name="l03279"></a><span class="lineno"> 3279</span>__STATIC_INLINE uint32_t LL_I2S_GetPrescalerLinear(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03280" name="l03280"></a><span class="lineno"> 3280</span>{</div>
<div class="line"><a id="l03281" name="l03281"></a><span class="lineno"> 3281</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga2b1a83146bd901493a172ba549345da2">SPI_I2SCFGR_I2SDIV</a>) &gt;&gt; SPI_I2SCFGR_I2SDIV_Pos);</div>
<div class="line"><a id="l03282" name="l03282"></a><span class="lineno"> 3282</span>}</div>
<div class="line"><a id="l03283" name="l03283"></a><span class="lineno"> 3283</span></div>
<div class="line"><a id="l03293" name="l03293"></a><span class="lineno"> 3293</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_SetPrescalerParity(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t PrescalerParity)</div>
<div class="line"><a id="l03294" name="l03294"></a><span class="lineno"> 3294</span>{</div>
<div class="line"><a id="l03295" name="l03295"></a><span class="lineno"> 3295</span>  MODIFY_REG(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga34081019e9fa193f6ce3c0f3d34d8852">SPI_I2SCFGR_ODD</a>, PrescalerParity &lt;&lt; SPI_I2SCFGR_ODD_Pos);</div>
<div class="line"><a id="l03296" name="l03296"></a><span class="lineno"> 3296</span>}</div>
<div class="line"><a id="l03297" name="l03297"></a><span class="lineno"> 3297</span></div>
<div class="line"><a id="l03306" name="l03306"></a><span class="lineno"> 3306</span>__STATIC_INLINE uint32_t LL_I2S_GetPrescalerParity(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03307" name="l03307"></a><span class="lineno"> 3307</span>{</div>
<div class="line"><a id="l03308" name="l03308"></a><span class="lineno"> 3308</span>  <span class="keywordflow">return</span> (uint32_t)(READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#ga34081019e9fa193f6ce3c0f3d34d8852">SPI_I2SCFGR_ODD</a>) &gt;&gt; SPI_I2SCFGR_ODD_Pos);</div>
<div class="line"><a id="l03309" name="l03309"></a><span class="lineno"> 3309</span>}</div>
<div class="line"><a id="l03310" name="l03310"></a><span class="lineno"> 3310</span></div>
<div class="line"><a id="l03317" name="l03317"></a><span class="lineno"> 3317</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_EnableMasterClock(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03318" name="l03318"></a><span class="lineno"> 3318</span>{</div>
<div class="line"><a id="l03319" name="l03319"></a><span class="lineno"> 3319</span>  SET_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gacc14a03f240b4f9ea4f8885f21df80f2">SPI_I2SCFGR_MCKOE</a>);</div>
<div class="line"><a id="l03320" name="l03320"></a><span class="lineno"> 3320</span>}</div>
<div class="line"><a id="l03321" name="l03321"></a><span class="lineno"> 3321</span></div>
<div class="line"><a id="l03328" name="l03328"></a><span class="lineno"> 3328</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_DisableMasterClock(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03329" name="l03329"></a><span class="lineno"> 3329</span>{</div>
<div class="line"><a id="l03330" name="l03330"></a><span class="lineno"> 3330</span>  CLEAR_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gacc14a03f240b4f9ea4f8885f21df80f2">SPI_I2SCFGR_MCKOE</a>);</div>
<div class="line"><a id="l03331" name="l03331"></a><span class="lineno"> 3331</span>}</div>
<div class="line"><a id="l03332" name="l03332"></a><span class="lineno"> 3332</span></div>
<div class="line"><a id="l03339" name="l03339"></a><span class="lineno"> 3339</span>__STATIC_INLINE uint32_t LL_I2S_IsEnabledMasterClock(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03340" name="l03340"></a><span class="lineno"> 3340</span>{</div>
<div class="line"><a id="l03341" name="l03341"></a><span class="lineno"> 3341</span>  <span class="keywordflow">return</span> ((READ_BIT(SPIx-&gt;<a class="code hl_variable" href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">I2SCFGR</a>, <a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gacc14a03f240b4f9ea4f8885f21df80f2">SPI_I2SCFGR_MCKOE</a>) == (<a class="code hl_define" href="group___peripheral___registers___bits___definition.html#gacc14a03f240b4f9ea4f8885f21df80f2">SPI_I2SCFGR_MCKOE</a>)) ? 1UL : 0UL);</div>
<div class="line"><a id="l03342" name="l03342"></a><span class="lineno"> 3342</span>}</div>
<div class="line"><a id="l03343" name="l03343"></a><span class="lineno"> 3343</span></div>
<div class="line"><a id="l03347" name="l03347"></a><span class="lineno"> 3347</span> </div>
<div class="line"><a id="l03348" name="l03348"></a><span class="lineno"> 3348</span></div>
<div class="line"><a id="l03352" name="l03352"></a><span class="lineno"> 3352</span></div>
<div class="line"><a id="l03359" name="l03359"></a><span class="lineno"> 3359</span>__STATIC_INLINE uint32_t LL_I2S_IsActiveFlag_RXP(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03360" name="l03360"></a><span class="lineno"> 3360</span>{</div>
<div class="line"><a id="l03361" name="l03361"></a><span class="lineno"> 3361</span>  <span class="keywordflow">return</span> LL_SPI_IsActiveFlag_RXP(SPIx);</div>
<div class="line"><a id="l03362" name="l03362"></a><span class="lineno"> 3362</span>}</div>
<div class="line"><a id="l03363" name="l03363"></a><span class="lineno"> 3363</span></div>
<div class="line"><a id="l03370" name="l03370"></a><span class="lineno"> 3370</span>__STATIC_INLINE uint32_t LL_I2S_IsActiveFlag_TXP(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03371" name="l03371"></a><span class="lineno"> 3371</span>{</div>
<div class="line"><a id="l03372" name="l03372"></a><span class="lineno"> 3372</span>  <span class="keywordflow">return</span> LL_SPI_IsActiveFlag_TXP(SPIx);</div>
<div class="line"><a id="l03373" name="l03373"></a><span class="lineno"> 3373</span>}</div>
<div class="line"><a id="l03374" name="l03374"></a><span class="lineno"> 3374</span></div>
<div class="line"><a id="l03381" name="l03381"></a><span class="lineno"> 3381</span>__STATIC_INLINE uint32_t LL_I2S_IsActiveFlag_UDR(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03382" name="l03382"></a><span class="lineno"> 3382</span>{</div>
<div class="line"><a id="l03383" name="l03383"></a><span class="lineno"> 3383</span>  <span class="keywordflow">return</span> LL_SPI_IsActiveFlag_UDR(SPIx);</div>
<div class="line"><a id="l03384" name="l03384"></a><span class="lineno"> 3384</span>}</div>
<div class="line"><a id="l03385" name="l03385"></a><span class="lineno"> 3385</span></div>
<div class="line"><a id="l03392" name="l03392"></a><span class="lineno"> 3392</span>__STATIC_INLINE uint32_t LL_I2S_IsActiveFlag_OVR(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03393" name="l03393"></a><span class="lineno"> 3393</span>{</div>
<div class="line"><a id="l03394" name="l03394"></a><span class="lineno"> 3394</span>  <span class="keywordflow">return</span> LL_SPI_IsActiveFlag_OVR(SPIx);</div>
<div class="line"><a id="l03395" name="l03395"></a><span class="lineno"> 3395</span>}</div>
<div class="line"><a id="l03396" name="l03396"></a><span class="lineno"> 3396</span></div>
<div class="line"><a id="l03403" name="l03403"></a><span class="lineno"> 3403</span>__STATIC_INLINE uint32_t LL_I2S_IsActiveFlag_FRE(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03404" name="l03404"></a><span class="lineno"> 3404</span>{</div>
<div class="line"><a id="l03405" name="l03405"></a><span class="lineno"> 3405</span>  <span class="keywordflow">return</span> LL_SPI_IsActiveFlag_FRE(SPIx);</div>
<div class="line"><a id="l03406" name="l03406"></a><span class="lineno"> 3406</span>}</div>
<div class="line"><a id="l03407" name="l03407"></a><span class="lineno"> 3407</span></div>
<div class="line"><a id="l03414" name="l03414"></a><span class="lineno"> 3414</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_ClearFlag_UDR(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03415" name="l03415"></a><span class="lineno"> 3415</span>{</div>
<div class="line"><a id="l03416" name="l03416"></a><span class="lineno"> 3416</span>  LL_SPI_ClearFlag_UDR(SPIx);</div>
<div class="line"><a id="l03417" name="l03417"></a><span class="lineno"> 3417</span>}</div>
<div class="line"><a id="l03418" name="l03418"></a><span class="lineno"> 3418</span></div>
<div class="line"><a id="l03425" name="l03425"></a><span class="lineno"> 3425</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_ClearFlag_OVR(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03426" name="l03426"></a><span class="lineno"> 3426</span>{</div>
<div class="line"><a id="l03427" name="l03427"></a><span class="lineno"> 3427</span>  LL_SPI_ClearFlag_OVR(SPIx);</div>
<div class="line"><a id="l03428" name="l03428"></a><span class="lineno"> 3428</span>}</div>
<div class="line"><a id="l03429" name="l03429"></a><span class="lineno"> 3429</span></div>
<div class="line"><a id="l03436" name="l03436"></a><span class="lineno"> 3436</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_ClearFlag_FRE(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03437" name="l03437"></a><span class="lineno"> 3437</span>{</div>
<div class="line"><a id="l03438" name="l03438"></a><span class="lineno"> 3438</span>  LL_SPI_ClearFlag_FRE(SPIx);</div>
<div class="line"><a id="l03439" name="l03439"></a><span class="lineno"> 3439</span>}</div>
<div class="line"><a id="l03440" name="l03440"></a><span class="lineno"> 3440</span></div>
<div class="line"><a id="l03444" name="l03444"></a><span class="lineno"> 3444</span></div>
<div class="line"><a id="l03448" name="l03448"></a><span class="lineno"> 3448</span></div>
<div class="line"><a id="l03455" name="l03455"></a><span class="lineno"> 3455</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_EnableIT_RXP(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03456" name="l03456"></a><span class="lineno"> 3456</span>{</div>
<div class="line"><a id="l03457" name="l03457"></a><span class="lineno"> 3457</span>  LL_SPI_EnableIT_RXP(SPIx);</div>
<div class="line"><a id="l03458" name="l03458"></a><span class="lineno"> 3458</span>}</div>
<div class="line"><a id="l03459" name="l03459"></a><span class="lineno"> 3459</span></div>
<div class="line"><a id="l03466" name="l03466"></a><span class="lineno"> 3466</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_EnableIT_TXP(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03467" name="l03467"></a><span class="lineno"> 3467</span>{</div>
<div class="line"><a id="l03468" name="l03468"></a><span class="lineno"> 3468</span>  LL_SPI_EnableIT_TXP(SPIx);</div>
<div class="line"><a id="l03469" name="l03469"></a><span class="lineno"> 3469</span>}</div>
<div class="line"><a id="l03470" name="l03470"></a><span class="lineno"> 3470</span></div>
<div class="line"><a id="l03477" name="l03477"></a><span class="lineno"> 3477</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_EnableIT_UDR(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03478" name="l03478"></a><span class="lineno"> 3478</span>{</div>
<div class="line"><a id="l03479" name="l03479"></a><span class="lineno"> 3479</span>  LL_SPI_EnableIT_UDR(SPIx);</div>
<div class="line"><a id="l03480" name="l03480"></a><span class="lineno"> 3480</span>}</div>
<div class="line"><a id="l03481" name="l03481"></a><span class="lineno"> 3481</span></div>
<div class="line"><a id="l03488" name="l03488"></a><span class="lineno"> 3488</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_EnableIT_OVR(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03489" name="l03489"></a><span class="lineno"> 3489</span>{</div>
<div class="line"><a id="l03490" name="l03490"></a><span class="lineno"> 3490</span>  LL_SPI_EnableIT_OVR(SPIx);</div>
<div class="line"><a id="l03491" name="l03491"></a><span class="lineno"> 3491</span>}</div>
<div class="line"><a id="l03492" name="l03492"></a><span class="lineno"> 3492</span></div>
<div class="line"><a id="l03499" name="l03499"></a><span class="lineno"> 3499</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_EnableIT_FRE(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03500" name="l03500"></a><span class="lineno"> 3500</span>{</div>
<div class="line"><a id="l03501" name="l03501"></a><span class="lineno"> 3501</span>  LL_SPI_EnableIT_FRE(SPIx);</div>
<div class="line"><a id="l03502" name="l03502"></a><span class="lineno"> 3502</span>}</div>
<div class="line"><a id="l03503" name="l03503"></a><span class="lineno"> 3503</span></div>
<div class="line"><a id="l03510" name="l03510"></a><span class="lineno"> 3510</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_DisableIT_RXP(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03511" name="l03511"></a><span class="lineno"> 3511</span>{</div>
<div class="line"><a id="l03512" name="l03512"></a><span class="lineno"> 3512</span>  LL_SPI_DisableIT_RXP(SPIx);</div>
<div class="line"><a id="l03513" name="l03513"></a><span class="lineno"> 3513</span>}</div>
<div class="line"><a id="l03514" name="l03514"></a><span class="lineno"> 3514</span></div>
<div class="line"><a id="l03521" name="l03521"></a><span class="lineno"> 3521</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_DisableIT_TXP(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03522" name="l03522"></a><span class="lineno"> 3522</span>{</div>
<div class="line"><a id="l03523" name="l03523"></a><span class="lineno"> 3523</span>  LL_SPI_DisableIT_TXP(SPIx);</div>
<div class="line"><a id="l03524" name="l03524"></a><span class="lineno"> 3524</span>}</div>
<div class="line"><a id="l03525" name="l03525"></a><span class="lineno"> 3525</span></div>
<div class="line"><a id="l03532" name="l03532"></a><span class="lineno"> 3532</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_DisableIT_UDR(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03533" name="l03533"></a><span class="lineno"> 3533</span>{</div>
<div class="line"><a id="l03534" name="l03534"></a><span class="lineno"> 3534</span>  LL_SPI_DisableIT_UDR(SPIx);</div>
<div class="line"><a id="l03535" name="l03535"></a><span class="lineno"> 3535</span>}</div>
<div class="line"><a id="l03536" name="l03536"></a><span class="lineno"> 3536</span></div>
<div class="line"><a id="l03543" name="l03543"></a><span class="lineno"> 3543</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_DisableIT_OVR(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03544" name="l03544"></a><span class="lineno"> 3544</span>{</div>
<div class="line"><a id="l03545" name="l03545"></a><span class="lineno"> 3545</span>  LL_SPI_DisableIT_OVR(SPIx);</div>
<div class="line"><a id="l03546" name="l03546"></a><span class="lineno"> 3546</span>}</div>
<div class="line"><a id="l03547" name="l03547"></a><span class="lineno"> 3547</span></div>
<div class="line"><a id="l03554" name="l03554"></a><span class="lineno"> 3554</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_DisableIT_FRE(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03555" name="l03555"></a><span class="lineno"> 3555</span>{</div>
<div class="line"><a id="l03556" name="l03556"></a><span class="lineno"> 3556</span>  LL_SPI_DisableIT_FRE(SPIx);</div>
<div class="line"><a id="l03557" name="l03557"></a><span class="lineno"> 3557</span>}</div>
<div class="line"><a id="l03558" name="l03558"></a><span class="lineno"> 3558</span></div>
<div class="line"><a id="l03565" name="l03565"></a><span class="lineno"> 3565</span>__STATIC_INLINE uint32_t LL_I2S_IsEnabledIT_RXP(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03566" name="l03566"></a><span class="lineno"> 3566</span>{</div>
<div class="line"><a id="l03567" name="l03567"></a><span class="lineno"> 3567</span>  <span class="keywordflow">return</span> LL_SPI_IsEnabledIT_RXP(SPIx);</div>
<div class="line"><a id="l03568" name="l03568"></a><span class="lineno"> 3568</span>}</div>
<div class="line"><a id="l03569" name="l03569"></a><span class="lineno"> 3569</span></div>
<div class="line"><a id="l03576" name="l03576"></a><span class="lineno"> 3576</span>__STATIC_INLINE uint32_t LL_I2S_IsEnabledIT_TXP(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03577" name="l03577"></a><span class="lineno"> 3577</span>{</div>
<div class="line"><a id="l03578" name="l03578"></a><span class="lineno"> 3578</span>  <span class="keywordflow">return</span> LL_SPI_IsEnabledIT_TXP(SPIx);</div>
<div class="line"><a id="l03579" name="l03579"></a><span class="lineno"> 3579</span>}</div>
<div class="line"><a id="l03580" name="l03580"></a><span class="lineno"> 3580</span></div>
<div class="line"><a id="l03587" name="l03587"></a><span class="lineno"> 3587</span>__STATIC_INLINE uint32_t LL_I2S_IsEnabledIT_UDR(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03588" name="l03588"></a><span class="lineno"> 3588</span>{</div>
<div class="line"><a id="l03589" name="l03589"></a><span class="lineno"> 3589</span>  <span class="keywordflow">return</span> LL_SPI_IsEnabledIT_UDR(SPIx);</div>
<div class="line"><a id="l03590" name="l03590"></a><span class="lineno"> 3590</span>}</div>
<div class="line"><a id="l03591" name="l03591"></a><span class="lineno"> 3591</span></div>
<div class="line"><a id="l03598" name="l03598"></a><span class="lineno"> 3598</span>__STATIC_INLINE uint32_t LL_I2S_IsEnabledIT_OVR(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03599" name="l03599"></a><span class="lineno"> 3599</span>{</div>
<div class="line"><a id="l03600" name="l03600"></a><span class="lineno"> 3600</span>  <span class="keywordflow">return</span> LL_SPI_IsEnabledIT_OVR(SPIx);</div>
<div class="line"><a id="l03601" name="l03601"></a><span class="lineno"> 3601</span>}</div>
<div class="line"><a id="l03602" name="l03602"></a><span class="lineno"> 3602</span></div>
<div class="line"><a id="l03609" name="l03609"></a><span class="lineno"> 3609</span>__STATIC_INLINE uint32_t LL_I2S_IsEnabledIT_FRE(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03610" name="l03610"></a><span class="lineno"> 3610</span>{</div>
<div class="line"><a id="l03611" name="l03611"></a><span class="lineno"> 3611</span>  <span class="keywordflow">return</span> LL_SPI_IsEnabledIT_FRE(SPIx);</div>
<div class="line"><a id="l03612" name="l03612"></a><span class="lineno"> 3612</span>}</div>
<div class="line"><a id="l03613" name="l03613"></a><span class="lineno"> 3613</span></div>
<div class="line"><a id="l03617" name="l03617"></a><span class="lineno"> 3617</span></div>
<div class="line"><a id="l03621" name="l03621"></a><span class="lineno"> 3621</span></div>
<div class="line"><a id="l03628" name="l03628"></a><span class="lineno"> 3628</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_EnableDMAReq_RX(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03629" name="l03629"></a><span class="lineno"> 3629</span>{</div>
<div class="line"><a id="l03630" name="l03630"></a><span class="lineno"> 3630</span>  LL_SPI_EnableDMAReq_RX(SPIx);</div>
<div class="line"><a id="l03631" name="l03631"></a><span class="lineno"> 3631</span>}</div>
<div class="line"><a id="l03632" name="l03632"></a><span class="lineno"> 3632</span></div>
<div class="line"><a id="l03639" name="l03639"></a><span class="lineno"> 3639</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_DisableDMAReq_RX(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03640" name="l03640"></a><span class="lineno"> 3640</span>{</div>
<div class="line"><a id="l03641" name="l03641"></a><span class="lineno"> 3641</span>  LL_SPI_DisableDMAReq_RX(SPIx);</div>
<div class="line"><a id="l03642" name="l03642"></a><span class="lineno"> 3642</span>}</div>
<div class="line"><a id="l03643" name="l03643"></a><span class="lineno"> 3643</span></div>
<div class="line"><a id="l03650" name="l03650"></a><span class="lineno"> 3650</span>__STATIC_INLINE uint32_t LL_I2S_IsEnabledDMAReq_RX(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03651" name="l03651"></a><span class="lineno"> 3651</span>{</div>
<div class="line"><a id="l03652" name="l03652"></a><span class="lineno"> 3652</span>  <span class="keywordflow">return</span> LL_SPI_IsEnabledDMAReq_RX(SPIx);</div>
<div class="line"><a id="l03653" name="l03653"></a><span class="lineno"> 3653</span>}</div>
<div class="line"><a id="l03654" name="l03654"></a><span class="lineno"> 3654</span></div>
<div class="line"><a id="l03661" name="l03661"></a><span class="lineno"> 3661</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_EnableDMAReq_TX(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03662" name="l03662"></a><span class="lineno"> 3662</span>{</div>
<div class="line"><a id="l03663" name="l03663"></a><span class="lineno"> 3663</span>  LL_SPI_EnableDMAReq_TX(SPIx);</div>
<div class="line"><a id="l03664" name="l03664"></a><span class="lineno"> 3664</span>}</div>
<div class="line"><a id="l03665" name="l03665"></a><span class="lineno"> 3665</span></div>
<div class="line"><a id="l03672" name="l03672"></a><span class="lineno"> 3672</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_DisableDMAReq_TX(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03673" name="l03673"></a><span class="lineno"> 3673</span>{</div>
<div class="line"><a id="l03674" name="l03674"></a><span class="lineno"> 3674</span>  LL_SPI_DisableDMAReq_TX(SPIx);</div>
<div class="line"><a id="l03675" name="l03675"></a><span class="lineno"> 3675</span>}</div>
<div class="line"><a id="l03676" name="l03676"></a><span class="lineno"> 3676</span></div>
<div class="line"><a id="l03683" name="l03683"></a><span class="lineno"> 3683</span>__STATIC_INLINE uint32_t LL_I2S_IsEnabledDMAReq_TX(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx)</div>
<div class="line"><a id="l03684" name="l03684"></a><span class="lineno"> 3684</span>{</div>
<div class="line"><a id="l03685" name="l03685"></a><span class="lineno"> 3685</span>  <span class="keywordflow">return</span> LL_SPI_IsEnabledDMAReq_TX(SPIx);</div>
<div class="line"><a id="l03686" name="l03686"></a><span class="lineno"> 3686</span>}</div>
<div class="line"><a id="l03687" name="l03687"></a><span class="lineno"> 3687</span></div>
<div class="line"><a id="l03691" name="l03691"></a><span class="lineno"> 3691</span></div>
<div class="line"><a id="l03695" name="l03695"></a><span class="lineno"> 3695</span></div>
<div class="line"><a id="l03702" name="l03702"></a><span class="lineno"> 3702</span>__STATIC_INLINE uint16_t LL_I2S_ReceiveData16(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx) <span class="comment">/* Derogation MISRAC2012-Rule-8.13 */</span></div>
<div class="line"><a id="l03703" name="l03703"></a><span class="lineno"> 3703</span>{</div>
<div class="line"><a id="l03704" name="l03704"></a><span class="lineno"> 3704</span>  <span class="keywordflow">return</span> LL_SPI_ReceiveData16(SPIx);</div>
<div class="line"><a id="l03705" name="l03705"></a><span class="lineno"> 3705</span>}</div>
<div class="line"><a id="l03706" name="l03706"></a><span class="lineno"> 3706</span></div>
<div class="line"><a id="l03713" name="l03713"></a><span class="lineno"> 3713</span>__STATIC_INLINE uint32_t LL_I2S_ReceiveData32(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx) <span class="comment">/* Derogation MISRAC2012-Rule-8.13 */</span></div>
<div class="line"><a id="l03714" name="l03714"></a><span class="lineno"> 3714</span>{</div>
<div class="line"><a id="l03715" name="l03715"></a><span class="lineno"> 3715</span>  <span class="keywordflow">return</span> LL_SPI_ReceiveData32(SPIx);</div>
<div class="line"><a id="l03716" name="l03716"></a><span class="lineno"> 3716</span>}</div>
<div class="line"><a id="l03717" name="l03717"></a><span class="lineno"> 3717</span></div>
<div class="line"><a id="l03725" name="l03725"></a><span class="lineno"> 3725</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_TransmitData16(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint16_t TxData)</div>
<div class="line"><a id="l03726" name="l03726"></a><span class="lineno"> 3726</span>{</div>
<div class="line"><a id="l03727" name="l03727"></a><span class="lineno"> 3727</span>  LL_SPI_TransmitData16(SPIx, TxData);</div>
<div class="line"><a id="l03728" name="l03728"></a><span class="lineno"> 3728</span>}</div>
<div class="line"><a id="l03729" name="l03729"></a><span class="lineno"> 3729</span></div>
<div class="line"><a id="l03737" name="l03737"></a><span class="lineno"> 3737</span>__STATIC_INLINE <span class="keywordtype">void</span> LL_I2S_TransmitData32(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t TxData)</div>
<div class="line"><a id="l03738" name="l03738"></a><span class="lineno"> 3738</span>{</div>
<div class="line"><a id="l03739" name="l03739"></a><span class="lineno"> 3739</span>  LL_SPI_TransmitData32(SPIx, TxData);</div>
<div class="line"><a id="l03740" name="l03740"></a><span class="lineno"> 3740</span>}</div>
<div class="line"><a id="l03741" name="l03741"></a><span class="lineno"> 3741</span> </div>
<div class="line"><a id="l03742" name="l03742"></a><span class="lineno"> 3742</span></div>
<div class="line"><a id="l03746" name="l03746"></a><span class="lineno"> 3746</span> </div>
<div class="line"><a id="l03747" name="l03747"></a><span class="lineno"> 3747</span> </div>
<div class="line"><a id="l03748" name="l03748"></a><span class="lineno"> 3748</span><span class="preprocessor">#if defined(USE_FULL_LL_DRIVER)</span><span class="preprocessor"></span></div>
<div class="line"><a id="l03752" name="l03752"></a><span class="lineno"> 3752</span> </div>
<div class="line"><a id="l03753" name="l03753"></a><span class="lineno"> 3753</span>ErrorStatus LL_I2S_DeInit(<span class="keyword">const</span> <a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx);</div>
<div class="line"><a id="l03754" name="l03754"></a><span class="lineno"> 3754</span>ErrorStatus LL_I2S_Init(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, <span class="keyword">const</span> LL_I2S_InitTypeDef *I2S_InitStruct);</div>
<div class="line"><a id="l03755" name="l03755"></a><span class="lineno"> 3755</span><span class="keywordtype">void</span>        LL_I2S_StructInit(LL_I2S_InitTypeDef *I2S_InitStruct);</div>
<div class="line"><a id="l03756" name="l03756"></a><span class="lineno"> 3756</span><span class="keywordtype">void</span>        LL_I2S_ConfigPrescaler(<a class="code hl_struct" href="struct_s_p_i___type_def.html">SPI_TypeDef</a> *SPIx, uint32_t PrescalerLinear, uint32_t PrescalerParity);</div>
<div class="line"><a id="l03757" name="l03757"></a><span class="lineno"> 3757</span></div>
<div class="line"><a id="l03761" name="l03761"></a><span class="lineno"> 3761</span><span class="preprocessor">#endif </span><span class="comment">/* USE_FULL_LL_DRIVER */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l03762" name="l03762"></a><span class="lineno"> 3762</span></div>
<div class="line"><a id="l03766" name="l03766"></a><span class="lineno"> 3766</span></div>
<div class="line"><a id="l03770" name="l03770"></a><span class="lineno"> 3770</span> </div>
<div class="line"><a id="l03771" name="l03771"></a><span class="lineno"> 3771</span><span class="preprocessor">#endif </span><span class="comment">/* defined(SPI1) || defined(SPI2) || defined(SPI3) || defined(SPI4) || defined(SPI5) || defined(SPI6) */</span><span class="preprocessor"></span></div>
<div class="line"><a id="l03772" name="l03772"></a><span class="lineno"> 3772</span></div>
<div class="line"><a id="l03776" name="l03776"></a><span class="lineno"> 3776</span> </div>
<div class="line"><a id="l03777" name="l03777"></a><span class="lineno"> 3777</span><span class="preprocessor">#ifdef __cplusplus</span></div>
<div class="line"><a id="l03778" name="l03778"></a><span class="lineno"> 3778</span>}</div>
<div class="line"><a id="l03779" name="l03779"></a><span class="lineno"> 3779</span><span class="preprocessor">#endif</span></div>
<div class="line"><a id="l03780" name="l03780"></a><span class="lineno"> 3780</span> </div>
<div class="line"><a id="l03781" name="l03781"></a><span class="lineno"> 3781</span><span class="preprocessor">#endif </span><span class="comment">/* STM32H7xx_LL_SPI_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="acore__armv81mml_8h_html_aec43007d9998a0a0e01faede4133d6be"><div class="ttname"><a href="core__armv81mml_8h.html#aec43007d9998a0a0e01faede4133d6be">__IO</a></div><div class="ttdeci">#define __IO</div><div class="ttdef"><b>Definition</b> core_armv81mml.h:277</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga07f63f1611444f70daf6b08fc18490ee"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga07f63f1611444f70daf6b08fc18490ee">SPI_IER_TIFREIE</a></div><div class="ttdeci">#define SPI_IER_TIFREIE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18558</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga09c4e3cd9a199757d6f3ac06e5bc110f"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga09c4e3cd9a199757d6f3ac06e5bc110f">SPI_SR_RXPLVL</a></div><div class="ttdeci">#define SPI_SR_RXPLVL</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18608</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga0a13f7af7ba888d7dbbbf016ccac324b"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga0a13f7af7ba888d7dbbbf016ccac324b">SPI_IFCR_EOTC</a></div><div class="ttdeci">#define SPI_IFCR_EOTC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18621</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga1304286c75b4eea9246faa8aea8d9d35"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga1304286c75b4eea9246faa8aea8d9d35">SPI_CR1_CSTART</a></div><div class="ttdeci">#define SPI_CR1_CSTART</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18378</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga13b510c8ba08f0e130469ab6a94c844a"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga13b510c8ba08f0e130469ab6a94c844a">SPI_IFCR_UDRC</a></div><div class="ttdeci">#define SPI_IFCR_UDRC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18627</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga13d3292e963499c0e9a36869909229e6"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga13d3292e963499c0e9a36869909229e6">SPI_SR_UDR</a></div><div class="ttdeci">#define SPI_SR_UDR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18584</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga1695e2f6e8d042aeae4d9f07e96dfe1a"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga1695e2f6e8d042aeae4d9f07e96dfe1a">SPI_SR_TXC</a></div><div class="ttdeci">#define SPI_SR_TXC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18605</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga1a4844bc9d90e49ba0dcacf7787f2e16"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga1a4844bc9d90e49ba0dcacf7787f2e16">SPI_IER_TSERFIE</a></div><div class="ttdeci">#define SPI_IER_TSERFIE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18564</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga1b7bf18425d7ade65a2e772fde619bf1"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga1b7bf18425d7ade65a2e772fde619bf1">SPI_CFG2_COMM</a></div><div class="ttdeci">#define SPI_CFG2_COMM</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18490</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga22143cbd7b9985dd4a7cf11e7c018d07"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga22143cbd7b9985dd4a7cf11e7c018d07">SPI_I2SCFGR_DATFMT</a></div><div class="ttdeci">#define SPI_I2SCFGR_DATFMT</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18714</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga25e56eef69334cb723e24a8d33fb0ef5"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga25e56eef69334cb723e24a8d33fb0ef5">SPI_CFG1_CRCEN</a></div><div class="ttdeci">#define SPI_CFG1_CRCEN</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18458</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga268bfe1b80b116394eef88b75cd3bcbd"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga268bfe1b80b116394eef88b75cd3bcbd">SPI_CFG2_CPHA</a></div><div class="ttdeci">#define SPI_CFG2_CPHA</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18509</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga298b617fdd0e3d18562509839aa72fa3"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga298b617fdd0e3d18562509839aa72fa3">SPI_IER_CRCEIE</a></div><div class="ttdeci">#define SPI_IER_CRCEIE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18555</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga2b1a83146bd901493a172ba549345da2"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga2b1a83146bd901493a172ba549345da2">SPI_I2SCFGR_I2SDIV</a></div><div class="ttdeci">#define SPI_I2SCFGR_I2SDIV</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18717</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga3294b6597873bd2c0f2acb9e722e18cc"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga3294b6597873bd2c0f2acb9e722e18cc">SPI_SR_SUSP</a></div><div class="ttdeci">#define SPI_SR_SUSP</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18602</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga33d0436c4b553cc357b52b9ecaaf542f"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga33d0436c4b553cc357b52b9ecaaf542f">SPI_IER_UDRIE</a></div><div class="ttdeci">#define SPI_IER_UDRIE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18549</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga33f5f7e482ff62448df98ed1bef9d62b"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga33f5f7e482ff62448df98ed1bef9d62b">SPI_IFCR_MODFC</a></div><div class="ttdeci">#define SPI_IFCR_MODFC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18639</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga34081019e9fa193f6ce3c0f3d34d8852"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga34081019e9fa193f6ce3c0f3d34d8852">SPI_I2SCFGR_ODD</a></div><div class="ttdeci">#define SPI_I2SCFGR_ODD</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18720</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga40ad06dce5bd7f4f2d1db25e8ecd33a4"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga40ad06dce5bd7f4f2d1db25e8ecd33a4">SPI_IER_TXPIE</a></div><div class="ttdeci">#define SPI_IER_TXPIE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18537</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga45f2b0107d9e8789831c616c984088e0"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga45f2b0107d9e8789831c616c984088e0">SPI_IFCR_TXTFC</a></div><div class="ttdeci">#define SPI_IFCR_TXTFC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18624</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga4a94302de465966446b502162851b455"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga4a94302de465966446b502162851b455">SPI_CFG1_MBR</a></div><div class="ttdeci">#define SPI_CFG1_MBR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18462</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga4c0cf2db0d5d372242e66e6d7da50b39"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga4c0cf2db0d5d372242e66e6d7da50b39">SPI_SR_CRCE</a></div><div class="ttdeci">#define SPI_SR_CRCE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18590</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga5332b248a3daf660df7f13098e75da46"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga5332b248a3daf660df7f13098e75da46">SPI_SR_TSERF</a></div><div class="ttdeci">#define SPI_SR_TSERF</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18599</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga5a1c7f82a6ed86099d121c4d6dfc63a9"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga5a1c7f82a6ed86099d121c4d6dfc63a9">SPI_CFG1_FTHLV</a></div><div class="ttdeci">#define SPI_CFG1_FTHLV</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18421</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga5c5be1f1c8b4689643e04cd5034e7f5f"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga5c5be1f1c8b4689643e04cd5034e7f5f">SPI_I2SCFGR_CKPOL</a></div><div class="ttdeci">#define SPI_I2SCFGR_CKPOL</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18705</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga5f154374b58c0234f82ea326cb303a1e"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga5f154374b58c0234f82ea326cb303a1e">SPI_CR1_SSI</a></div><div class="ttdeci">#define SPI_CR1_SSI</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18387</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga5fde811db0bae41847c2c56d20e1983b"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga5fde811db0bae41847c2c56d20e1983b">SPI_IER_DXPIE</a></div><div class="ttdeci">#define SPI_IER_DXPIE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18540</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga63c870e907f27d909d0eaff45f4ce20d"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga63c870e907f27d909d0eaff45f4ce20d">SPI_CFG2_SP</a></div><div class="ttdeci">#define SPI_CFG2_SP</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18496</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga63d88f8a3205e7c27d73e90df3d57a34"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga63d88f8a3205e7c27d73e90df3d57a34">SPI_IFCR_SUSPC</a></div><div class="ttdeci">#define SPI_IFCR_SUSPC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18645</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga66a29efc32a31f903e89b7ddcd20857b"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga66a29efc32a31f903e89b7ddcd20857b">SPI_I2SCFGR_PCMSYNC</a></div><div class="ttdeci">#define SPI_I2SCFGR_PCMSYNC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18694</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga68f0df5875b67a12e55d99ff0da2d38b"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga68f0df5875b67a12e55d99ff0da2d38b">SPI_CR2_TSER</a></div><div class="ttdeci">#define SPI_CR2_TSER</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18404</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga6a392a021319a1e0fdf422502cfa47f2"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga6a392a021319a1e0fdf422502cfa47f2">SPI_CFG2_IOSWP</a></div><div class="ttdeci">#define SPI_CFG2_IOSWP</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18486</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga6ba53086c19a3260e0555ace5d700c42"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga6ba53086c19a3260e0555ace5d700c42">SPI_IER_OVRIE</a></div><div class="ttdeci">#define SPI_IER_OVRIE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18552</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga6d05af6bd42d7191edec2763928dee98"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga6d05af6bd42d7191edec2763928dee98">SPI_IER_MODFIE</a></div><div class="ttdeci">#define SPI_IER_MODFIE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18561</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga6f37d39b4458955b93c69ad7c454dfdf"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga6f37d39b4458955b93c69ad7c454dfdf">SPI_SR_CTSIZE</a></div><div class="ttdeci">#define SPI_SR_CTSIZE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18616</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga71105846351660951df077c563a0a437"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga71105846351660951df077c563a0a437">SPI_CR1_HDDIR</a></div><div class="ttdeci">#define SPI_CR1_HDDIR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18384</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga73f785111c63d6e951018ebc0fffacf6"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga73f785111c63d6e951018ebc0fffacf6">SPI_SR_DXP</a></div><div class="ttdeci">#define SPI_SR_DXP</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18575</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga7a822a80be3a51524b42491248f8031f"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga7a822a80be3a51524b42491248f8031f">SPI_I2SCFGR_I2SSTD</a></div><div class="ttdeci">#define SPI_I2SCFGR_I2SSTD</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18689</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga83164e8c254119b5b02b761d666ef12c"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga83164e8c254119b5b02b761d666ef12c">SPI_CFG2_MSSI</a></div><div class="ttdeci">#define SPI_CFG2_MSSI</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18470</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga87b292843107573ae82aa13d88916646"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga87b292843107573ae82aa13d88916646">SPI_IER_RXPIE</a></div><div class="ttdeci">#define SPI_IER_RXPIE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18534</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga924de6adac104ed55c282c0d061ac11f"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga924de6adac104ed55c282c0d061ac11f">SPI_CR1_IOLOCK</a></div><div class="ttdeci">#define SPI_CR1_IOLOCK</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18399</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga95289b0733d92829f9f0189574dc1d54"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga95289b0733d92829f9f0189574dc1d54">SPI_SR_RXP</a></div><div class="ttdeci">#define SPI_SR_RXP</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18569</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga9c362b3d703698a7891f032f6b29056f"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga9c362b3d703698a7891f032f6b29056f">SPI_I2SCFGR_CHLEN</a></div><div class="ttdeci">#define SPI_I2SCFGR_CHLEN</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18702</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga9c9863c4e8e013e090efbe2cc7d82c45"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga9c9863c4e8e013e090efbe2cc7d82c45">SPI_CFG2_SSOE</a></div><div class="ttdeci">#define SPI_CFG2_SSOE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18522</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_ga9f7199bbdd797f0238aaaf9cc42e4f64"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#ga9f7199bbdd797f0238aaaf9cc42e4f64">SPI_SR_TXP</a></div><div class="ttdeci">#define SPI_SR_TXP</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18572</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaa1829b079924734042d20b1671fecc1d"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaa1829b079924734042d20b1671fecc1d">SPI_CFG2_SSIOP</a></div><div class="ttdeci">#define SPI_CFG2_SSIOP</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18519</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaa342a40ac86059d414932474d7ff6edd"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaa342a40ac86059d414932474d7ff6edd">SPI_CFG1_RXDMAEN</a></div><div class="ttdeci">#define SPI_CFG1_RXDMAEN</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18442</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaa776b437fb542da2298b25f64d2b4820"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaa776b437fb542da2298b25f64d2b4820">SPI_IFCR_CRCEC</a></div><div class="ttdeci">#define SPI_IFCR_CRCEC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18633</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaa8d902302c5eb81ce4a57029de281232"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaa8d902302c5eb81ce4a57029de281232">SPI_SR_OVR</a></div><div class="ttdeci">#define SPI_SR_OVR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18587</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaaa106cc55ef294cde0f750aebd117aad"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaaa106cc55ef294cde0f750aebd117aad">SPI_CR1_CRC33_17</a></div><div class="ttdeci">#define SPI_CR1_CRC33_17</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18390</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaacb99dd866a50efb470836aed787f273"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaacb99dd866a50efb470836aed787f273">SPI_CR1_RCRCINI</a></div><div class="ttdeci">#define SPI_CR1_RCRCINI</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18393</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaad0484985babc3a9f84957458281337c"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaad0484985babc3a9f84957458281337c">SPI_CR1_TCRCINI</a></div><div class="ttdeci">#define SPI_CR1_TCRCINI</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18396</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaaff6b7fae6de0289fd47beb27c3120b9"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaaff6b7fae6de0289fd47beb27c3120b9">SPI_CFG2_LSBFRST</a></div><div class="ttdeci">#define SPI_CFG2_LSBFRST</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18506</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gab6334377efffc8f2733962c827a4bf03"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gab6334377efffc8f2733962c827a4bf03">SPI_SR_RXWNE</a></div><div class="ttdeci">#define SPI_SR_RXWNE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18613</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gab902d7b8309b8fedfd9b338618774191"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gab902d7b8309b8fedfd9b338618774191">SPI_CFG2_MIDI</a></div><div class="ttdeci">#define SPI_CFG2_MIDI</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18478</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gab9090ae865e0d132177fb39e812faa21"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gab9090ae865e0d132177fb39e812faa21">SPI_CFG1_DSIZE</a></div><div class="ttdeci">#define SPI_CFG1_DSIZE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18412</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gabaa043349833dc7b8138969c64f63adf"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gabaa043349833dc7b8138969c64f63adf">SPI_SR_MODF</a></div><div class="ttdeci">#define SPI_SR_MODF</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18596</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gabcf5fdb75a84ac9a9634205b1dcbff3d"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gabcf5fdb75a84ac9a9634205b1dcbff3d">SPI_CFG1_UDRDET</a></div><div class="ttdeci">#define SPI_CFG1_UDRDET</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18436</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gabe0131b6501f637fa0168c031050818d"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gabe0131b6501f637fa0168c031050818d">SPI_CFG2_SSOM</a></div><div class="ttdeci">#define SPI_CFG2_SSOM</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18525</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gac0abe5455caf68d999ee49491f5d196a"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gac0abe5455caf68d999ee49491f5d196a">SPI_I2SCFGR_WSINV</a></div><div class="ttdeci">#define SPI_I2SCFGR_WSINV</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18711</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gac0e93a296bc722bab78d526bf1cc2f7d"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gac0e93a296bc722bab78d526bf1cc2f7d">SPI_SR_TXTF</a></div><div class="ttdeci">#define SPI_SR_TXTF</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18581</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gac11913f93aaad350abb857fccf2654c2"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gac11913f93aaad350abb857fccf2654c2">SPI_CR1_CSUSP</a></div><div class="ttdeci">#define SPI_CR1_CSUSP</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18381</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gac2a7b767079c91751283143a40aa0e19"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gac2a7b767079c91751283143a40aa0e19">SPI_CFG1_TXDMAEN</a></div><div class="ttdeci">#define SPI_CFG1_TXDMAEN</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18445</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gac5a646d978d3b98eb7c6a5d95d75c3f9"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gac5a646d978d3b98eb7c6a5d95d75c3f9">SPI_CR1_SPE</a></div><div class="ttdeci">#define SPI_CR1_SPE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18372</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gacc12f9d2003ab169a3f68e9d809f84ae"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gacc12f9d2003ab169a3f68e9d809f84ae">SPI_I2SCFGR_DATLEN</a></div><div class="ttdeci">#define SPI_I2SCFGR_DATLEN</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18697</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gacc14a03f240b4f9ea4f8885f21df80f2"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gacc14a03f240b4f9ea4f8885f21df80f2">SPI_I2SCFGR_MCKOE</a></div><div class="ttdeci">#define SPI_I2SCFGR_MCKOE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18723</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gad058d0a0046d7de998d9d73635009c9e"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gad058d0a0046d7de998d9d73635009c9e">SPI_IFCR_TSERFC</a></div><div class="ttdeci">#define SPI_IFCR_TSERFC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18642</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gad0e7364142f9a7eb6b5c59897dd8b72d"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gad0e7364142f9a7eb6b5c59897dd8b72d">SPI_CFG2_SSM</a></div><div class="ttdeci">#define SPI_CFG2_SSM</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18515</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gadd814e85e0f2cc9fd5fbedbd1db232c1"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gadd814e85e0f2cc9fd5fbedbd1db232c1">SPI_IER_EOTIE</a></div><div class="ttdeci">#define SPI_IER_EOTIE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18543</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gadec3e1c72d5f45f6b9a2681d8275ffb5"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gadec3e1c72d5f45f6b9a2681d8275ffb5">SPI_IFCR_TIFREC</a></div><div class="ttdeci">#define SPI_IFCR_TIFREC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18636</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gadf6af11782cace2048e20c18d4d63e1a"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gadf6af11782cace2048e20c18d4d63e1a">SPI_SR_EOT</a></div><div class="ttdeci">#define SPI_SR_EOT</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18578</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gae07ebb92fa1d04040cf5f40c38216dbd"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gae07ebb92fa1d04040cf5f40c38216dbd">SPI_CFG1_CRCSIZE</a></div><div class="ttdeci">#define SPI_CFG1_CRCSIZE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18449</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gae374f7d95b2b790e5741a84932b8c63f"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gae374f7d95b2b790e5741a84932b8c63f">SPI_CFG2_MASTER</a></div><div class="ttdeci">#define SPI_CFG2_MASTER</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18503</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gae7d399759fc0606d8ef44845004a9faf"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gae7d399759fc0606d8ef44845004a9faf">SPI_CR1_MASRX</a></div><div class="ttdeci">#define SPI_CR1_MASRX</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18375</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gae99763414b3c2f11fcfecb1f93eb6701"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gae99763414b3c2f11fcfecb1f93eb6701">SPI_I2SCFGR_I2SMOD</a></div><div class="ttdeci">#define SPI_I2SCFGR_I2SMOD</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18680</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaf09fd11f6f97000266b30b015bf2cb68"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaf09fd11f6f97000266b30b015bf2cb68">SPI_I2SCFGR_I2SCFG</a></div><div class="ttdeci">#define SPI_I2SCFGR_I2SCFG</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18683</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaf0d90225cbbced8ab5c382605500e6b8"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaf0d90225cbbced8ab5c382605500e6b8">SPI_CFG2_AFCNTR</a></div><div class="ttdeci">#define SPI_CFG2_AFCNTR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18529</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaf329c2e8fb5112c4efdcac4c69bf95fb"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaf329c2e8fb5112c4efdcac4c69bf95fb">SPI_IER_TXTFIE</a></div><div class="ttdeci">#define SPI_IER_TXTFIE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18546</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaf3e3c940fb46d8b32456c59819e615be"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaf3e3c940fb46d8b32456c59819e615be">SPI_SR_TIFRE</a></div><div class="ttdeci">#define SPI_SR_TIFRE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18593</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaf679040af74b6aefa72766069dc7b0f8"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaf679040af74b6aefa72766069dc7b0f8">SPI_CR2_TSIZE</a></div><div class="ttdeci">#define SPI_CR2_TSIZE</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18407</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaf6d82e28cd842db16ceb0a36faafbd73"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaf6d82e28cd842db16ceb0a36faafbd73">SPI_I2SCFGR_FIXCH</a></div><div class="ttdeci">#define SPI_I2SCFGR_FIXCH</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18708</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gaf9e5874b94f69e2af8d7fd460ff33460"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gaf9e5874b94f69e2af8d7fd460ff33460">SPI_CFG2_CPOL</a></div><div class="ttdeci">#define SPI_CFG2_CPOL</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18512</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gafbc576a4e016b13218347fd2bd3303db"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gafbc576a4e016b13218347fd2bd3303db">SPI_CFG1_UDRCFG</a></div><div class="ttdeci">#define SPI_CFG1_UDRCFG</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18429</div></div>
<div class="ttc" id="agroup___peripheral___registers___bits___definition_html_gafe909f94add018dc698a1057b6e174da"><div class="ttname"><a href="group___peripheral___registers___bits___definition.html#gafe909f94add018dc698a1057b6e174da">SPI_IFCR_OVRC</a></div><div class="ttdeci">#define SPI_IFCR_OVRC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:18630</div></div>
<div class="ttc" id="astm32h7xx_8h_html"><div class="ttname"><a href="stm32h7xx_8h.html">stm32h7xx.h</a></div><div class="ttdoc">CMSIS STM32H7xx Device Peripheral Access Layer Header File.</div></div>
<div class="ttc" id="astruct_s_p_i___type_def_html"><div class="ttname"><a href="struct_s_p_i___type_def.html">SPI_TypeDef</a></div><div class="ttdoc">Serial Peripheral Interface.</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1479</div></div>
<div class="ttc" id="astruct_s_p_i___type_def_html_a0339afbc47839f09598f7fb09c242b09"><div class="ttname"><a href="struct_s_p_i___type_def.html#a0339afbc47839f09598f7fb09c242b09">SPI_TypeDef::RXDR</a></div><div class="ttdeci">__IO uint32_t RXDR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1490</div></div>
<div class="ttc" id="astruct_s_p_i___type_def_html_a03d6f39b695fb8e316e97c8a089cd46b"><div class="ttname"><a href="struct_s_p_i___type_def.html#a03d6f39b695fb8e316e97c8a089cd46b">SPI_TypeDef::CRCPOLY</a></div><div class="ttdeci">__IO uint32_t CRCPOLY</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1492</div></div>
<div class="ttc" id="astruct_s_p_i___type_def_html_a189a6e7526779ec981cd411bc4bd3a51"><div class="ttname"><a href="struct_s_p_i___type_def.html#a189a6e7526779ec981cd411bc4bd3a51">SPI_TypeDef::UDRDR</a></div><div class="ttdeci">__IO uint32_t UDRDR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1495</div></div>
<div class="ttc" id="astruct_s_p_i___type_def_html_a1fd1ba3ba655258308d26cdcfaf4bc5e"><div class="ttname"><a href="struct_s_p_i___type_def.html#a1fd1ba3ba655258308d26cdcfaf4bc5e">SPI_TypeDef::CFG1</a></div><div class="ttdeci">__IO uint32_t CFG1</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1482</div></div>
<div class="ttc" id="astruct_s_p_i___type_def_html_a33f3dd6a505d06fe6c466b63be451891"><div class="ttname"><a href="struct_s_p_i___type_def.html#a33f3dd6a505d06fe6c466b63be451891">SPI_TypeDef::SR</a></div><div class="ttdeci">__IO uint32_t SR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1485</div></div>
<div class="ttc" id="astruct_s_p_i___type_def_html_a38cb89a872e456e6ecd29b6c71d85600"><div class="ttname"><a href="struct_s_p_i___type_def.html#a38cb89a872e456e6ecd29b6c71d85600">SPI_TypeDef::CR2</a></div><div class="ttdeci">__IO uint32_t CR2</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1481</div></div>
<div class="ttc" id="astruct_s_p_i___type_def_html_a4a1547c0ed26f31108910c35d2876b83"><div class="ttname"><a href="struct_s_p_i___type_def.html#a4a1547c0ed26f31108910c35d2876b83">SPI_TypeDef::I2SCFGR</a></div><div class="ttdeci">__IO uint32_t I2SCFGR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1496</div></div>
<div class="ttc" id="astruct_s_p_i___type_def_html_a519806144e513633e6a0093fd554756f"><div class="ttname"><a href="struct_s_p_i___type_def.html#a519806144e513633e6a0093fd554756f">SPI_TypeDef::TXDR</a></div><div class="ttdeci">__IO uint32_t TXDR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1488</div></div>
<div class="ttc" id="astruct_s_p_i___type_def_html_a6ecd5cb63b85c381bd67dc90dd4f573a"><div class="ttname"><a href="struct_s_p_i___type_def.html#a6ecd5cb63b85c381bd67dc90dd4f573a">SPI_TypeDef::CR1</a></div><div class="ttdeci">__IO uint32_t CR1</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1480</div></div>
<div class="ttc" id="astruct_s_p_i___type_def_html_a9fffd568c7ff1da72b24c45c62566abd"><div class="ttname"><a href="struct_s_p_i___type_def.html#a9fffd568c7ff1da72b24c45c62566abd">SPI_TypeDef::TXCRC</a></div><div class="ttdeci">__IO uint32_t TXCRC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1493</div></div>
<div class="ttc" id="astruct_s_p_i___type_def_html_aa3d580e3aa375dd3e6c1a3331e819300"><div class="ttname"><a href="struct_s_p_i___type_def.html#aa3d580e3aa375dd3e6c1a3331e819300">SPI_TypeDef::RXCRC</a></div><div class="ttdeci">__IO uint32_t RXCRC</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1494</div></div>
<div class="ttc" id="astruct_s_p_i___type_def_html_ab40edb77993e6f1343c5999f62e5a157"><div class="ttname"><a href="struct_s_p_i___type_def.html#ab40edb77993e6f1343c5999f62e5a157">SPI_TypeDef::CFG2</a></div><div class="ttdeci">__IO uint32_t CFG2</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1483</div></div>
<div class="ttc" id="astruct_s_p_i___type_def_html_ada4f3c195a523945fca842215c67d8d5"><div class="ttname"><a href="struct_s_p_i___type_def.html#ada4f3c195a523945fca842215c67d8d5">SPI_TypeDef::IFCR</a></div><div class="ttdeci">__IO uint32_t IFCR</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1486</div></div>
<div class="ttc" id="astruct_s_p_i___type_def_html_add74ef50f1985dc0afe8af8226d84051"><div class="ttname"><a href="struct_s_p_i___type_def.html#add74ef50f1985dc0afe8af8226d84051">SPI_TypeDef::IER</a></div><div class="ttdeci">__IO uint32_t IER</div><div class="ttdef"><b>Definition</b> stm32h723xx.h:1484</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
</div><!-- container -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a href="dir_60925fc218da8ca7908795bf5f624060.html">Drivers</a></li><li class="navelem"><a href="dir_7baec2ddb99168f99d1052c1aec46b20.html">STM32H7xx_HAL_Driver</a></li><li class="navelem"><a href="dir_4f22a8fa6199c96df71a89cbd7613f35.html">Inc</a></li><li class="navelem"><a href="stm32h7xx__ll__spi_8h.html">stm32h7xx_ll_spi.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.14.0 </li>
  </ul>
</div>
</body>
</html>
